List class properties are not serialized.
So if you have
XmlSerializer will not serialize
Name property value at all.
I’ve just found that
XmlSerializer does the same if class implements
So for class definition like below:
XmlSerializer to omit Name property values from serialization.