Deserializing a newer version of an object from an older version of the object
Suppose I had this class: [Serializable] public class SomeClass { public SomeClass() {//init} public string SomeString {get;set;} } This class gets Serialized when the application closes, and gets deserialized on the next run. Then, I built it and released the application, and now the class has changed: [Serializable] public class SomeClass { public SomeClass() {//init} public string SomeString {get;set;} public int SomeInt {get;set;} } Is there a way to set a property to its default on deserialization in case its not found in the old serialized object? One way I thought about is keeping the