Is there anyway to assign a value of type string to be the name of an integer, or convert the value or vise versa?
Example:
int Q = 1;
string member = "member" + Q;
//some kind of type name or conversion takes place?
int member1 = Q;
Anybody have some ideas on how to do this? I tried the streamstring technique that I got off of another thread, but that does not work with changing values, only names of variable types.:(
Example:
int Q = 1;
string member = "member" + Q;
//some kind of type name or conversion takes place?
int member1 = Q;
Anybody have some ideas on how to do this? I tried the streamstring technique that I got off of another thread, but that does not work with changing values, only names of variable types.:(
Comment