title: XMLTextReader C#
body: <pre><code>&lt;myroot&gt;
    some data.
  &lt;/myroot&gt;
  </code></pre>
  
  <p>I have an xml file with some data like above.
  I want to get all data coming between</p>
  
  <pre><code> &lt;myroot&gt; and &lt;/myroot&gt;
  </code></pre>
  
  <p>In to a string variable.</p>
  
  <p>There is some restriction to me, that is i should use only XMLTextReader for this how can i do this
  just using XmlTextReader with out using xdocument</p>