I am reading settings from a XML file:
What I want is to read the XML file and crete dinamically variables with the XML element name.
In the end I should have a variable called "setting1" with value "value1", another variable called "setting2" with value "value2". If I execute Console.WriteLine(setting2) it should output "value1".
Is there a way to do this?