title: Is File.ReadLines buffering read lines?
body: <p>I have a very long text file (about 600MB of text) which I want to parse line by line. I can simply use <code>StreamReader.ReadLine()</code> method, but I'd like to know if using LINQ with <code>File.ReadLines(filepath)</code> will eat a lot of memory or maybe after line is "read" into separate string variable it is removed from memory.</p>
  
  <p>In other words, <code>File.ReadLines()</code> will build whole array of string in memory as I will go through the file or will it work similarly to <code>StreamReader.ReadLine()</code> using the same amount of memory (i.e. single line)?</p>