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?
Jump to Post
My 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 RepliesReply to this topic
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, learning, and sharing knowledge.