title: How to read a file into a string with CR/LF preserved?
body: <p>If I asked the question "how to read a file into a string" the answer would be obvious. However -- here is the catch <strong>with CR/LF preserved</strong>.</p>
  
  <p>The problem is, <code>File.ReadAllText</code> strips those characters. <code>StreamReader.ReadToEnd</code> just converted LF into CR for me which led to long investigation where I have bug in pretty obvious code ;-)</p>
  
  <p>So, in short, if I have file containing <code>foo\n\r\nbar</code> I would like to get <code>foo\n\r\nbar</code> (i.e. exactly the same content), not <code>foo bar</code>, <code>foobar</code>, or <code>foo\n\n\nbar</code>. Is there some ready to use way in .Net space?</p>
  
  <p><em>The outcome should be always single string, containing entire file.</em></p>