How to serialize class and his objects
<p>I have an Class structure like this:</p>

<pre><code>class A { 
   Dictionary&lt;UInt64, B&gt; listB;
   method1(){}
   methodN(){}
}

class B {       

   Dictionary&lt;UInt32, C&gt; listC;
   Dictionary&lt;UInt32, E&gt; listE;
   List&lt;F&gt; listF;
   method1(){}
   methodN(){}
}

class C { 
   Dictionary&lt;UInt32, D&gt; listD;
   method1(){}
   methodN(){}
}

class D { 
   method1(){}
   methodN(){}
}   

class E { 
   method1(){}
   methodN(){}
}    

class F { 
   method1(){}
   methodN(){}
}
</code></pre>

<p>Class A is the main Class, and B is a sub class of A. All other classes are sub class of B.</p>

<p>I want to serialize class A with all sub Classes.</p>

<p>How can I serialize these Objects? </p>

<p>Thank You!</p>
