title: StringBuilder ToString injects \n\r
body: <p>When I execute this .Net code:</p>
  
  <pre><code>   var builder = new StringBuilder();
     builder.AppendLine("Line One");
     builder.AppendLine("Line Two");
     var result = builder.ToString();
  </code></pre>
  
  <p>The value of result is literally:</p>
  
  <pre><code>"Line One\r\nLine Two\r\n"
  </code></pre>
  
  <p>Why is the .ToString() converting the newlines to "\r\n" text and is there a way to prevent this and have the string actually have real (hidden) newline characters?</p>