title: Best way to change the value of an element in C#
body: <p>I'm trying to look at the best way of changing the value of an element in XML.</p>
  
  <pre><code>&lt;MyXmlType&gt;
     &lt;MyXmlElement&gt;Value&lt;/MyXmlElement&gt;
  &lt;/MyXmlType&gt;
  </code></pre>
  
  <p>What is the easiest and/or best way to change "Value" in C#?</p>
  
  <p>I've looked at XMLDocument and it will cause a load of the whole XML document to memory.  Could you do it safely with the XMLReader.  The problem is changing the value and emitting it back seems like an interesting conundrum.  </p>
  
  <p>Cheers :D</p>