title: Get Last Element in C# using XElement
body: <p>I have a XML feed loaded in an XElement.</p>
  
  <p>The structure is</p>
  
  <pre><code>&lt;root&gt;
  &lt;post&gt;&lt;/post&gt;
  &lt;post&gt;&lt;/post&gt;
  &lt;post&gt;&lt;/post&gt;
  &lt;post&gt;&lt;/post&gt;
  .
  .
  .
  .
  &lt;post&gt;&lt;/post&gt;
  &lt;/root&gt;
  </code></pre>
  
  <p>I want to directly get the value of the Last post. How I do that using XElement in C#.</p>
  
  <p>Thanks.</p>