Let\'s say that I have two classes, a base class and a derived class. They are fairly simple classes, and mainly just act as data structures (with the derived class obviousl
XmlSerialization is not polymorphic (the member attributes, however, go with the declaring class; i.e. unless you overrule a member with the new
keyword (in contrast to override
) you'll 'inherit' the serialization attributes.
Deserialization always results in the actual type that was serialized. This makes a lot of sense, really.