title: Built in .NET function for unescaping characters in XML stream?
body: <p>So, I have some data in the form of:</p>
  
  <pre><code>&amp;lt;foo&amp;gt;&amp;lt;bar&amp;gt;test&amp;lt;/bar&amp;gt;&amp;lt;/foo&amp;gt;
  </code></pre>
  
  <p>What .NET classes/functions would I want to use to convert this to something pretty and write it out to a file looking something like this:</p>
  
  <pre><code>&lt;foo&gt;
     &lt;bar&gt;
         test
     &lt;/bar&gt;
  &lt;/foo&gt;
  </code></pre>
  
  <p>Be <strong>specific</strong> on the functions and classes please, not just "use System.XML".  There seems to be a lot of different ways to do things in .NET using XML :(</p>
  
  <p>Thanks</p>