title: Questions about the XmlSerializer
body: <p>It would be more helpful to me; if you do answers the below questions.</p>
  
  <ol>
  <li><p>Is it XmlSerializer is order based?
  eg)
  My class/ XML is like below. property order changed.
  Still this do serialize/de-serialize?  </p>
  
  <pre><code>   public class Movie
     {
      public string Title  { get; set; }
      public int Rating    { get; set; }
     }
  </code></pre>
  
  <p>And the XML is like </p>
  
  <pre><code>  &lt;?xml version="1.0" encoding="utf-8"?&gt;
    &lt;Movie xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
               xmlns:xsd="http://www.w3.org/2001/XMLSchema"&gt;
       &lt;Rating&gt;6.9&lt;/Rating&gt;
       &lt;Title&gt;Starship Troopers&lt;/Title&gt;
    &lt;/Movie&gt;
  </code></pre></li>
  <li><p>What will happen during deserialization; if my class don't have property (e.g. Title) but the xml has that element? </p></li>
  <li><p>Assume I have SuperClass (A) and two SubClasses(B,C) for that Superclass(A).
  In runtime how do i determine which object i should pass in the below when i got xml         response? Since I don't know what is the RootElement (B or C) of the xml?</p>
  
  <pre><code> XmlSerializer ser = new XmlSerializer(typeof(B or C)); ??
  </code></pre>
  
  <p><BR></p></li>
  </ol>
  
  <hr>
  
  <p>One <B><a href="https://stackoverflow.com/questions/13827140/use-of-dom-sax-instead-of-xmlserializer-over-httpwebresponse">solution</a></B> to overcome Q2</p>
  
  <hr>