I am new in C#, facing a problem right now. Is there any other ways that I could store/keep my variables data even I exit my apps or until next start, beside than store the variables inside Properties > Settings ??
Asked
Active
Viewed 38 times
0
-
1Database, text file, serialized class or collection are a few other options. What is wrong with Settings? – Ňɏssa Pøngjǣrdenlarp Nov 04 '15 at 02:24
1 Answers
0
There are various ways of persistence of data in .NET
- XML / JSON Serialisation (Good for storing objects - ie. complex data)
- Registry keys (good for simple things like flags / states etc..)
- Simple text files (general purpose)
- Settings configs
- Databases...
https://msdn.microsoft.com/en-us/library/bb412179(v=vs.110).aspx

krafty
- 425
- 4
- 16