title: c# how to add a line break to a memory stream
body: <p>I am merging 3 files, for example, but at final there are not line breaks between the files...</p>
  
  <pre><code>MemoryStream m = new MemoryStream();
  File.OpenRead("c:\file1.txt").CopyTo(m);
  File.OpenRead("c:\file2.txt").CopyTo(m);
  File.OpenRead("c:\file3.txt").CopyTo(m);
  m.Position = 0;
  Console.WriteLine(new StreamReader(m).ReadToEnd());
  </code></pre>
  
  <p>how can I may add a line break to a memory stream?</p>