title: C#, How to simply change order of class members
body: <p>Hi I Have a class derived from another class . Like this : </p>
  
  <pre><code>public  class Customer
    {
      public string Date{ get; set; }
      public string InstallationNo{ get; set; }
      public string SerialNo { get; set; }        
    } 
  </code></pre>
  
  <p>Then I have created a class named Customer_U which derived from Customer </p>
  
  <pre><code> public  class Customer_U:Customer
    {
      public string Bill{ get; set; }            
    }  
  </code></pre>
  
  <p>I have simple question. I have google many time but no answer. I have list filled with data like:  </p>
  
  <p><code>List&lt;Customer_U&gt; customer= new List&lt;Customer_U&gt;()</code>  I create a excel using this list. In excel colum order is like this :</p>
  
  <blockquote>
    <p>Bill  --- Date ---  InstalltionNo ---   SerialNo.</p>
  </blockquote>
  
  <p>Idont want this order. I want "Bill" member to be last columns . How to set order of member when createin a class derived from another class</p>