So I'm curious, when you need to store user settings or application settings what method do you normally use?

I have been using a class and just serializing it to a file. But there is also the "settings" in the application's properties folder. Does anyone ever use that? Any pros/cons to either method? Suggestions?

I always used a class because I can store it however I want, where ever I want and feel like I have a bit more control.

Recommended Answers

All 2 Replies

I use the built in Settings class. If you want control, it does allow you to specify your own settings file to load/save.

I use the built in Settings class. If you want control, it does allow you to specify your own settings file to load/save.

Do you ever have problems with your settings being overwritten when you release a new version? That's what I'm always worried about.

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.