Hello,
I need a label array for my windows form so I can easily edit the text in the labels.
I've found this solution:
for (int i = 0; i < 10; i++)
{
Label[] labels = new Label[10];
labels[i] = new Label();
labels[i].Text = "0";
labels[i].Location = new System.Drawing.Point(100, i*10+100);
}
I put this code in the form load.
It's not giving me errors but It's not displaying the labels on the screen either.
Can anyone help me?