Dynamic Variable name
is there a way in c # to create dynamic variable names or dependent on a file name? I want to update my mod AddBlips so that it is enough to create an xml file with coordinates, sprite, color and name in a specific folder. the problem is that to create it we must also create a variable so I can not create only one variable if then there are 20 xml (then blip) in the folder. I wonder if there is a way to make the variable name be the name of the xml file or to dynamically change it
You can utilize classes (or structs) to group information.
What is it exactly that you want to change?