title: Define an object with a name constructed using a dynamic value
body: <p>Okay, I have this piece of code:</p>
  
  <pre><code>int arrPanelsRequired = 4;
  string airport;
  int arrPanelsMade = 0;
  for (; arrPanelsMade &lt;= arrPanelsRequired; arrPanelsMade++)
  {
      Panel arrPanelXXX = new Panel();
  </code></pre>
  
  <p>and I need to replace the <code>XXX</code> with the value of <code>arrPanelsMade</code>. I found several ways to name an object after a variable's value, however, I wasn't able to apply any of them here :(</p>