byte b = 0;
foreach (Control x in this.Controls)
{
if (x is PictureBox)
{
x.Tag = saylar[b].ToString();
b++;
}
}
I am getting error saying that array was out of bounds, why is that? It works perfectly fine on my friend's C#.