Writing the content of StringBuilder to a file without calling ToString()
<p>Let's imagine that I have a <code>StringBuilder</code> and I cannot refactor it to use a stream. I want to write the content of my <code>StrinBuilder</code> to a file but I don't want to make an extra copy of the content in memory i.e I don't want to call <code>ToString()</code>.</p>

<p>Can I get the content without making an extra copy in memory ?</p>

<p><em>I believe that prior to version 2 ToString() could avoid copying by using copy on write, but this no longer is the case.</em> </p>