I am trying to serialize a class several of the data-members are Nullable objects, here is a example
[XmlAttribute(\"AccountExpirationDate\")] public Nullabl
You can only serialize it as an XmlElement, not as an XmlAttribute, as the representation is too complex for an attribute. That's what the exception is telling you.
XmlElement
XmlAttribute