Hello all,
I have a question about the concatenation operator in C#. For example, I
want to concatenate an integer variable to a control.
I have an integer, i. I have checkboxes, checkbox0 - checkbox5.
As I loop through my integers i - 5, I want to check my checkboxes,
checkbox0- checkbox5.
for (int i = 0; i < 5; i++)
{
checkbox+i+.checked = true;
}
However, referring to the checkboxes in the for loop as checkbox+i+.checked
= true is not working. Any help would be appreciated regarding
concatenating the checkbox control with the integer value.
-Tirrell