This is my first time working with config files, so I am not sure which direction to go. I have looked around but have not found any specific answers.
I have a some configuration settings, namely a list of integers, a list of custom objects and a single integer. At the moment, I am pursuing XML for my config file, I am using serialisation to store and read my list of custom objects. However, I am not sure of the convention or the possiblitly of storing the other settings in the same file. Ideally I would like it to be a single file configurable via a GUI, can I acheive this with XML?
How can I store and read my other list, and single int independently? i.e. refer to that part of the file? - does serialisation allow for this or do I need multiple files? Would that be bad practice?
Should I use a differnt type of config file, or use settings in addition to my XML file? Is it bad practice to have more than one mode of configuration?
Many thanks for any advice you can provide!