If I understand the Xml Serializer correctly, as it is
serializing an object graph, if it comes across a
collection object, it puts a tag in for the collection and
then tries to serialize all of the members of the
collection. This is roughly the same treatment when the
top of my object graph is itself a collection. I'm
curious, however, about 2 things with regard to passing a
custom collection object to the XmlSerializer:
1) Why cannot I not use the XmlRootAttribute on my
collection object to specify a custom tag name for my
collection?
2) What exactly does the XmlSerializer do in order to make
the determination that an object is a collection? I
looked through Anakrino, but didn't see anything specific
to this.
thanks,
_howard