Answer the question
In order to leave comments, you need to log in
How to refer to the i-th element of the TextBox?
In total there are 10 textBoxes named textBox1, textBox2,..., textBox10, how to access each by looping from 1 to 10 and put each value into an int array? Kind of like textBoxes are an object, each one can be referred to as the i-th element. How can this be implemented in c#?
Answer the question
In order to leave comments, you need to log in
create an array of textboxes
and iterate their
current fill in initializecomponent();
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question