title: How to create a class which is to be de-serialized from XML
body: <p>How to create a C# class which must be used to deserialize the XML as given below</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;XML&gt;
      &lt;StatusCode&gt;-2&lt;/StatusCode&gt;
      &lt;Warnings /&gt;
      &lt;Errors&gt;
          &lt;Error&gt; Debtor #2 Invalid Postal Code&lt;/Error&gt;
          &lt;Error&gt;Invalid lien term&lt;/Error&gt;
      &lt;/Errors&gt;
  &lt;/XML&gt;
  </code></pre>