> 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 to > xml. > > Third: If these are xml simple types (ints, floats, strings, ...), you can > use a different approach: serializing them as attributes, that besides being > more compact has a higher level of control using the xxxSpecified trick.
Forth: Don't try to Deserialize your Xml, because this hasn't been implemented yet! (I'm actually working on it right now...) -elan _______________________________________________ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list
