Skip to main content
3 of 4
added 77 characters in body
Bogdan
  • 163
  • 6

You do not need this type of functionality. User can set string to any value and you can use the string value to access the variable for example.

Dictionary<string,int> dict = new Dictionary< string,int>();

dict.add(userInput, 0);```
Bogdan
  • 163
  • 6