A
Arjen
Hello,
I have an array "aPeople" with people objects which I serialize like this:
XmlSerializer x = new XmlSerializer( typeof(People[]) );
TextWriter writer = new StreamWriter( "data.xml" );
x.Serialize( writer, aPeople );
Now I have also an array "aAnimal" with animal objects.
Is there a way to put this in the same data.xml file?
Thanks!
Arjen
I have an array "aPeople" with people objects which I serialize like this:
XmlSerializer x = new XmlSerializer( typeof(People[]) );
TextWriter writer = new StreamWriter( "data.xml" );
x.Serialize( writer, aPeople );
Now I have also an array "aAnimal" with animal objects.
Is there a way to put this in the same data.xml file?
Thanks!
Arjen