title: How to read text file by particular line separator character?
body: <p>Reading a text file using streamreader.</p>
  
  <pre><code>using (StreamReader sr = new StreamReader(FileName, Encoding.Default))
  {
       string line = sr.ReadLine();
  }
  </code></pre>
  
  <p>I want to force that line delimiter should be <code>\n</code> not <code>\r</code>. So how can i do that?</p>