C# Array of Controls
<p>Basically I have 3 arrays of different types:</p>

<pre><code>control = new Control[2] { txtRecordDelimeter, txtFieldDelimeter };
name = new string[2] { "Record Delimiter", "Field Delimiter" };
exists = new bool[2] { false, false };
</code></pre>

<p>...essentially I would like to create a loop that checks whether the string existed in an object passed into a constructor, if did, set the bool of the respective index to true and then ammend the respective control with a new value.</p>

<p>Originally I had a bunch of if statements and repeating code so I wanna cut that out with a for loop.</p>

<p>However, for example, when I attempt to reference control[0].<em>whatever</em> I get the same list from IntelliSense regardless of whether or not the control is a text box or a combo box etc.</p>

<p>I'm guessing I'm missing something simple here like not referencing an instance of the control per se, but I'd be greatful if someone could explain what I'm doing wrong or suggest a better way to achieve this!</p>

<p>Thanks :]</p>
