Creating different unique variables in a loop
<p>I have a windows form that I want to be populated with X number of comboboxes at compile time, X being a varying number.</p>

<p>I have a List with all the values for the comboboxes but since the user must be able to select a differnet item for each combobox I would need a new binding list for each one but since I don't know how many I would have to begin with, I would need to create them in a loop. In order to do so I thought to lookup how to pass a string to a variable name, since they all need unique names but I had no luck.</p>

<p>Could anyone please tell me how I can create/initialise variables in a loop with unique names or an alternate way of achieving my goal.</p>