0

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 ??

Blorgbeard
  • 101,031
  • 48
  • 228
  • 272
NewBieS
  • 147
  • 2
  • 10

1 Answers1

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