I\'m trying to figure out how to serialize any class using the XmlSerializer, without using the XmlInclude attribute. Generally works, but with the followi
//[XmlInclude(typeof(B))]
[Serializable]
public class A : ReactListObject
{
public int AValue = 1;
}
[XmlInclude(typeof(A))]
public class B : A
{
public int BValue = 2;
}