GregM GregM - 1 year ago 52
C# Question

Best way to store small amount of data

I'm new to windows app and I would like to know what the best way to save a small amount of data, like 1 value a day.

I'm going for the text file because it's easy, but I know i could use MS Access.

Do you have other option ? Faster or better ?

Answer Source

If you need to read it then use a plain text file.

If you need to read the values back into the application then serialize to an XML or binary file by making your user data serializable possibly by having a List of values in your object.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download