title: Split text with '\r\n'
body: <p>I was following this <a href="http://msdn.microsoft.com/en-us/library/tabh47cf%28v=vs.110%29.aspx">article</a>  </p>
  
  <p>And I came up with this code:</p>
  
  <pre><code>string FileName = "C:\\test.txt";
  
  using (StreamReader sr = new StreamReader(FileName, Encoding.Default))
  {
      string[] stringSeparators = new string[] { "\r\n" };
      string text = sr.ReadToEnd();
      string[] lines = text.Split(stringSeparators, StringSplitOptions.None);
      foreach (string s in lines)
      {
          Console.WriteLine(s);
      }
  }
  </code></pre>
  
  <p>Here is the sample text:  </p>
  
  <pre><code>somet interesting text\n
  some text that should be in the same line\r\n
  some text should be in another line
  </code></pre>
  
  <p>Here is the output:</p>
  
  <pre><code>somet interesting text\r\n
  some text that should be in the same line\r\n
  some text should be in another line\r\n
  </code></pre>
  
  <p>But what I want is this:</p>
  
  <pre><code>somet interesting textsome text that should be in the same line\r\n
  some text should be in another line\r\n
  </code></pre>
  
  <p>I think I should get this result but somehow I am missing something...</p>