title: C# Foreach checkbox checked in a panel
body: <p>I am trying to check each checkbox that is checked within my panel1. Then show the item checked in label1. I can not get it to work with a panel and checkboxes...below is what i have for code. Any suggestions would be great!
  Thanks</p>
  
  <pre><code>foreach (int indexChecked in panel1)
  {
              str1 += panel1.Items[indexChecked].ToString() + ", ";
              label1.Visible = true;
  }
          label14.Text = str1;
  </code></pre>