|
-
Nov 30th, 2009, 06:31 PM
#1
Thread Starter
Lively Member
Best method to store this data
I need to save up to around a max of 10 sets of data (possibly more). Each set of data contains 3 strings.
What would be the best method to store this low amount of data? (so it saves each time the user opens/closes the application)
-
Nov 30th, 2009, 07:14 PM
#2
Re: Best method to store this data
You could define a class or structure with a property for each of the three values, then create an array or List of instances of that type, then serialise it to an XML or binary file. There are lots of examples of XML and binary serialization around. Notice I use a "z" rather than an "s", because most of the examples will use the US spelling rather than the "proper" spelling.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|