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);```
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);```