title: Parse xml using LINQ to XML to class objects
body: <p>I have</p>
  
  <pre><code>&lt;Model&gt;
      &lt;Components&gt;
          &lt;Component name="a" id="aaa" molarmass="60.05"/&gt;
          &lt;Component name="b" id="bbb" molarmass="18.02"/&gt;
          &lt;Component name="c" id="ccc" molarmass="32.04"/&gt;
          &lt;Component name="d" id="ddd" molarmass="46.03"/&gt;
      &lt;/Components&gt;
      ...
  &lt;/Model&gt;
  </code></pre>
  
  <p>and the class </p>
  
  <pre><code>public class ChemieComponent
  {
      public string Name { get; set; }
      public string Id { get; set; }
      public double MolarMass { get; set; }
  }
  </code></pre>
  
  <p>Can I with the LINQ query parse this components to objects? How? I the end should I have a IEnumerable, right?</p>
  
  <p><strong>EDIT</strong></p>
  
  <pre><code>&lt;Points&gt;
      &lt;Point name="P1" pressure="1"&gt;
      &lt;Fractions&gt;
          &lt;Fraction id="aaa" value="0.15272159"/&gt;
          &lt;Fraction id="bbb" value="0.15272159"/&gt;
      &lt;/Fractions&gt;
      more points...
   &lt;/Points&gt;
  </code></pre>