How to assign the name of a variable from the value of another variable C#

Viewed 36

How do I assign the name of a variable from the value of another variable in C#?

For example:

string x = "child";
string (x value here);
0 Answers
Related