[Mono-list] c# serialization

Elan Feingold efeingold@mn.rr.com
Thu, 20 Feb 2003 21:22:18 -0600

> I think you are probably heading for Xml serialization, so...
> Second: If those var1 and var2 are reference types (classes instead of
> structs), just keep the unused one as null, and it won't be serialized
> xml.
> Third: If these are xml simple types (ints, floats, strings, ...), you
> use a different approach: serializing them as attributes, that besides
> more compact has a higher level of control using the xxxSpecified

Forth: Don't try to Deserialize your Xml, because this hasn't been
implemented yet!

(I'm actually working on it right now...)