views:

20

answers:

0

Hi,

What's the best way to serialize multiple classes with XmlSerializer in one file? Ideally, what I want is to have one root node and the XmlSerializer serializes one child node to this root node, one per class.

Otherwise, my other idea is to just make a wrapper that contains these classes and serialize that.