Is there a way to dynamically name variables?
What I need to do is take a list of variable names from an input file and create variables with those names. Is this p
You can't do that, but what you're looking to do is begging for a Dictionary use:
Dictionary d = new Dictionary(); d.Add("Variable1", value1); d.Add("Variable2", value2); d.Add("Variable3", value3);