i was wondering if this is possible in c#:
say if i have a string myString which holds the value 'str'.
now, is there any way i can make a variable of type int or anything that has a variable name that is the value of myString?
(e.g string myString = "str" then
int str;
)
say if i have a string myString which holds the value 'str'.
now, is there any way i can make a variable of type int or anything that has a variable name that is the value of myString?
(e.g string myString = "str" then
int str;
)