Hi
Am new to programming. Trying to create a simple interface using windows application. I want it to get input from the user, and to save to file to allow for future viewing, editing, deleting.
Will using stream writer/ stream reader work?
Not sure if I'm even on the right course here.
Thanks, appreciate any help.
Saving a Windows Application form
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.

Danatas GerviRank #4,152 · 361 reputationPosted Aug 25, 2009, 11:12 PM EDT
All depends on amount of data and its structure.
In simplest case, if you want to save 3-5 string varibles, you may use
File.WriteAllText();
File.ReadAllText();
To save and to read back the separated string.
If you whant more – read about XmlSerialisation.