I store some string values in an array list at runtime. When the application closes I want to store the data from the array list in another location so that I can open and retrieve the data the next time the application starts. What are some possible ways to do this?
Share
You can use
ReadingandWritingfrom/to files or storing the values in windows registry.For Reading/Writing from/to files use:
This is the basic. Here are two great articles for this:
I used this for storing the High Scores for a simple game. 🙂
Here is a nice tutorial for using Windows registry.