Hello,
Imagine we have 5 string variables and we want to assign "Foo" to them during runtime.
Instead of this
string a1 = "Foo";
string a2 = "Foo";
string a3 = "Foo";
string a4 = "Foo";
string a5 = "Foo";
Can't we use something like this:
for(int i = 0;i < 5;i++)
{
a+i = "Foo";
}
Is it impossible to access them in a similiar way?