title: Is duplicate string index in ControlCollection possible? And how does it work?
body: <p>I'm starting a small project in WinForms C# and have something like this:</p>
  <pre><code>UserControl uc1 = new UserControl();
  UserControl uc2 = new UserControl();
  mainPanel.Controls.Add(uc1);
  mainPanel.Controls.Add(uc2);
  Console.WriteLine(mainPanel.Controls[&quot;UserControl&quot;].Width);
  </code></pre>
  <p>Knowing that <code>mainPanel.Controls</code> is a collection, how come that <em>UserControl</em> - class name of <code>uc1</code> and <code>uc2</code> - can act like an index?
  And if so, these 2 elements in the collection have the same index, namely <em>UserControl</em>, is this even possible? Or this is something particular of .NET Framework?</p>