title: How to split lines from Windows text file (/r/n separation)
body: <p>My question is quite simple. I need to get all text lines from Windows text file.
  All lines are separated by \r\n symbols. I use String.Split, but its not cool, because
  it only splits 'by one symbol' leaving empty string that I need to remove with options flag. Is there a better way? </p>
  
  <p>My implementation</p>
  
  <pre><code>string wholefile = GetFromSomeWhere();
  
  // now parsing
  string[] lines = operationtext.Split("\r\n".ToCharArray(), StringSplitOptions.RemoveEmptyEntries);
  
  // ok now I have lines array
  </code></pre>
  
  <p><strong>UPDATE</strong></p>
  
  <p>File.ReadAllXXX is of no use here coz GetFromSomeWhere is actually RegEx, so I've no file after this point.</p>