Serialization of an object and its Contained Objects
- by Amit
There is a main class having 2 subClasses(each represent separate entity) and all classes needs to be serialized.. how should I proceed ?
My requirement is when I serelize MainClass, I should get the xml for each sub class and main class as well. Thanks in advance... and if my approach is incorrect... correct that as well..
Ex given below...
…