In my WPF application I have a form presented to the user, the user fills out forms which is about, e.g. A location. These form entries are then used to construct a object from a custom class and on the next view details about the location entered are displayed.
What I need is a method to be able to save the dynamically created object so that when the application is closed and reopened i can display the name property of previously entered objects so that the user can reopen the data from previously entered objects.
Thinking I can serialize them into an .osl file, but that only saves the public values.
So I’m thinking there must be a much simpler way
Any help appreciated!
Read about
.Net Serialization.Use:
This way you can serialize/deserialize anything you want.