I am newbie in C# and I have a question.
I have that objects:
PictureBox field1;
PictureBox field2;
PictureBox field3;
And the question:
Is this possible to get that objects "dynamically" using its names?
I mean something like that:
for(int i = 0; i < 3; i++) {
// instead of that:
string tmp1 = field1.Name;
string tmp2 = field2.Name;
string tmp3 = field3.Name;
// i need something like that:
string tmp = "and this is a string parameter".Name;
}