G
Guest
I use serialization to write class data to a file. During my development of
this class I need to add properties or fields on occation. After adding a
property, when deserializing the data saved to disk I get an exception error
indicating that the class data members no longer match.
To avoid the exception errors, how can I retrieve data from the disk and
populate the existing fields found within the file and set defaults for the
new properties that I've created?
this class I need to add properties or fields on occation. After adding a
property, when deserializing the data saved to disk I get an exception error
indicating that the class data members no longer match.
To avoid the exception errors, how can I retrieve data from the disk and
populate the existing fields found within the file and set defaults for the
new properties that I've created?