title: How to read each line of file in loop?
body: <p>I have a <code>System.IO.Stream</code> that I'm getting content from (a file).  I do the following:</p>
  
  <pre><code>using (var reader = new StreamReader(mystream))
  {
    var filecontent = reader.ReadLine();
  }
  </code></pre>
  
  <p>That only captures a single line. I'd like to put each line into a <code>List&lt;String&gt;</code>. How can that be done?</p>