Hello.
I've been literally googling for an hour now trying to find how to save variable settings to a file. Now i turn to you guys on this forum for help.
I'm writing an application and I'm using alot of changeable variables. I want to be able to save these to a file so they can be loaded at application startup. I don't feel like using the regestry since I hate to write unimportant things to the registry.
I remembered that I found a good example with simple code of how to do this with xml, but I can't seem to find the example now.

Could someone please explain to me how to do this in an easy and smart way.

Thank you