¡@

Home 

c# Programming Glossary: myclassb

How to make a value type nullable with .NET XmlSerializer?

http://stackoverflow.com/questions/703137/how-to-make-a-value-type-nullable-with-net-xmlserializer

public class MyClass public int Age get set public int MyClassB get set Serializable public class MyClassB public int RandomNumber.. set public int MyClassB get set Serializable public class MyClassB public int RandomNumber get set The XmlSerializer will serialize.. will serialize the object like that MyClass Age 0 age MyClassB RandomNumber 4234 RandomNumber MyClassB MyClass How can I made..