title: Is it possible to create multiple objects from an XML file?
body: <pre><code>public class xmlvalues
  {
      public int    id { get; set; }
      public string a { get; set; }
      public string b { get; set; }
      public string c { get; set; }
  }
  
  -- XML Example
  &lt;instance&gt;
    &lt;id&gt;&gt;1&lt;/id&gt;
    &lt;a&gt;value 1A&lt;/a&gt;
    &lt;b&gt;value 1B&lt;/b&gt;
    &lt;c&gt;value 1C&lt;/c&gt;
  &lt;/instance&gt;
  
  
  &lt;instance&gt;
    &lt;id&gt;&gt;2&lt;/id&gt;
    &lt;a&gt;value 2A&lt;/a&gt;
    &lt;b&gt;value 2B&lt;/b&gt;
    &lt;c&gt;value 2C&lt;/c&gt;
  &lt;/instance&gt;
  </code></pre>
  
  <p>Using the above example is possible to create an object for each "instance" node in the XML file?  In this example there would be 2 instances of the object "xmlvalues" but in theory there could be many more. Is there an easy way to do this?</p>