Newlines escaped unexpectedly in C#/ASP.NET 1.1 code
<p>Can someone explain to me why my code:</p>

<pre><code>string messageBody = "abc\n" + stringFromDatabaseProcedure;
</code></pre>

<p>where valueFromDatabaseProcedure is not a value from the SQL database entered as </p>

<pre><code>'line1\nline2'
</code></pre>

<p>results in the string:</p>

<pre><code>"abc\nline1\\nline2"
</code></pre>

<p>This has resulted in me scratching my head somewhat.</p>

<p>I am using ASP.NET 1.1.</p>

<p><strong>To clarify,</strong> </p>

<p>I am creating string that I need to go into the body of an email on form submit.
I mention ASP.NET 1.1 as I do not get the same result using .NET 2.0 in a console app.</p>

<p>All I am doing is adding the strings and when I view the messageBody string I can see that it has escaped the value string.</p>

<p><strong>Update</strong>
What is not helping me at all is that Outlook is not showing the \n in a text email correctly (unless you reply of forward it). 
An online mail viewer (even the Exchange webmail) shows \n as a new line as it should.</p>
