Until now, I only had to store application state of primitive types like int, string, boolean and for that I used Properties.Settings.Default object with no problem.
But now I also need to store instances of classes created with new keyword.
So my question is how to store these types of objects?
Serialize your object with XmlSerializer in that way:
Source and full example: http://support.microsoft.com/kb/815813
For the complete process – serializing and deserializing – visit this link:
http://sharpertutorials.com/serialization/
Notes: