Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
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);
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);
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);
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.
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>();