StreamWriter is writing carriage returns?
<p>I have a very simple console application that creates a text file. Below is a recap of the code:</p>

<pre><code>StreamWriter writer = File.CreateText("c:\\temp.txt");
foreach (blah...)
{
  writer.Write(body.ToString() + "\n");
  writer.Flush();
}
writer.Close();
</code></pre>

<p>The client is claiming there are carriage returns at the end of each line. Where are these carriage returns coming from?</p>

<p><strong>Update:</strong> After opening in VS binary editor and Notepad++, there were no occurrences of <code>0d 0a</code>. I'm going to go back to the client.</p>
