title: Assign checkboxes to an checkbox-array using a for loop in C#
body: <p>I'd like to do this:</p>
  
  <pre><code>CheckBox[] boxarray = new CheckBox[4];
      boxarray[0] = checkBox1;
      boxarray[1] = checkBox2;
      boxarray[2] = checkBox3;
      boxarray[3] = checkBox4;
  </code></pre>
  
  <p>using a for loop - because I have about 600 checkboxes. I thought about this:</p>
  
  <pre><code>for (int i = 0 ; i&lt;= 600; i++)
      {
      boxes[i] = checkBox[i] ;
      }
  </code></pre>
  
  <p>But whatever I tried - it didn't work. I hope you know what I mean.
  Thanks for your help!</p>