title: Can I give controls an index property in C# like in VB?
body: <p>I've found similar answers to my question before, but not quite to what I'm trying to do...</p>
  <p>In Visual Basic (last I used it, in 06/07) there was an &quot;Index&quot; property you could assign to multiple controls with the same name. I used this primarily to loop through controls, i.e.:</p>
  <pre><code>For i = 1 to 500
      picSeat(i).Print &quot;Hello&quot;
  Next i
  </code></pre>
  <p>Is there a way to do this in C#? I know there is a <code>.IndexOf()</code>, but would that really help for what I'm doing? I want to have multiple controls with the same name, just different index.</p>
  <p>This is a Windows Form Application, and I'm using Visual Studio 2012. I <strong>am</strong> talking about controls, not arrays/lists; this was possible in VB and I was wondering if it was possible at all in C#. So I want to have, say, 30 seats in a theatre. I want to have each seat represented by a picturebox named &quot;picSeat&quot;. VB would let me name several objects the exact same, and would assign a value to a control property &quot;Index&quot;. That way, I could use the above loop to print &quot;Hello&quot; in every picture box with only 3 lines of code.</p>