title: C# Adressing multiple variables using a for()
body: <p>I have this code:</p>
  <pre><code>cpMythic0.Text = Properties.Settings.Default.M0;
  </code></pre>
  <p>and let's say I have 31 cpMythic (string) variables all being named &quot;cpMythic0, cpMythic1, cpMythic2 ... cpMythic30 and the same goes with some Properties Settings string variables called &quot;M0,M1,M2...M30&quot;</p>
  <p>Instead of writing this:</p>
  <pre><code>cpMythic0.Text = Properties.Settings.Default.M0;
  cpMythic1.Text = Properties.Settings.Default.M1;
  </code></pre>
  <p>I would like to use a for() function, with an i variable but I don't really know the syntax.
  I would appreciate any help.</p>