I want to use a loop and go through different labels with only a numerical difference (Num1, Num2, Num3, Num4, Num5). Is it possible to cycle through these using a loop?
this is what I have:
foreach (int Numer in lotoNums)
("Num" + Numer.ToString()).Text = lotoNums[Numer].ToString();
"Num" is the shared label name where "Numer" is the number label I want. also "lotoNums" has a length of 5.
I haven't seen any post asking this, but if there is one please say so!