Best way to store data locally in .NET (C#)

后端 未结 19 1248
南方客
南方客 2020-11-28 01:53

I\'m writing an application that takes user data and stores it locally for use later. The application will be started and stopped fairly often, and I\'d like to make it save

相关标签:
19条回答
  • 2020-11-28 02:27

    Keep it simple - as you said, a flat file is sufficient. Use a flat file.

    This is assuming that you have analyzed your requirements correctly. I would skip the serializing as XML step, overkill for a simple dictionary. Same thing for a database.

    0 讨论(0)
提交回复
热议问题