What's the best method to save preferences of a program? could you give me a sample?
What's the best method to save preferences of a program? could you give me a sample?
After I have set some preferences of a program, I hope to save them to disk, when the program restart,
the preferences can be restore. there are some type preferences such as string, boolean, number, etc...
What's the best method to save preferences of a program?
Maybe there are the following methods:
1. save them to the Registry of Windows
2. save to XML file
3. save to INI file. BTW, could you give me a sample how to read and write INI file with C#?

