Hello, fellows. I have a simple question to you, maybe you can help me. I try to save data in C#. For exemple, i make an application and the user select his options. What type of file should I use to save his options? The next time the application opens, options should be the same as last time. Would someone explain to me how to do this and which type of files should I use?
BogdanCov
0
Junior Poster in Training
Recommended Answers
Jump to PostMy preference is to store options in a settings object (application-specific) and then serialize it to an XML file in either the ProgramData folder or isolated storage.
This accomplishes three big things, in my opinion:
- The file is located in a place that isn't under tight security (like the app.config …
All 3 Replies
deceptikon
1,790
Code Sniper
Team Colleague
Featured Poster
BogdanCov
0
Junior Poster in Training
deceptikon
1,790
Code Sniper
Team Colleague
Featured Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.