Let\'s suppose I have this object:
[Serializable] public class MyClass { public int Age { get; set; } public int MyClassB { get; set; } } [Serializab
This should help Make Age int? and..
int?
public bool ShouldSerializeAge() { return Age.HasValue; }
..it does mean adding the ShouldSerializeXXX methods to your class!