Maybe I just don\'t know .NET well enough yet, but I have yet to see a satisfactory way to implement this simple VB6 code easily in .NET (assume this code is on a form with
Make an array of controls.
TextBox[] textboxes = new TextBox[] { textBox1, textBox2, textBox3 };