title: How to Serialize List<T>?
body: <p>I have Class A. Class B and Class C are part of Class A.</p>
  
  <pre><code>Class A 
  {
  
  //Few Properties of Class A
  
  List&lt;typeof(B)&gt; list1 = new List&lt;typeof(B)&gt;()
  
  List&lt;typeof(C)&gt; list2 = new List&lt;typeof(C)&gt;()
  
  Nsystem NotSystem { get; set; } // Enum Property Type
  
  }
  
  public enum Nsystem {
      A = 0,
      B = 1,
      C = 2
  }
  </code></pre>
  
  <p>I want to Serialize Class A and want to produce XML with it; I also want to serialize list1 and list2 and also the Enum...</p>
  
  <p>What is a good approach to Serialize this XML because I need the functionality of converting an Object into XML and XML into an Object ...</p>
  
  <p>What are some good options to do this?
  Thanks</p>