title: ReadAllLines for a Stream object?
body: <p>There exists a <code>File.ReadAllLines</code> but not a <code>Stream.ReadAllLines</code>.</p>
  
  <pre><code>using (Stream stream = Assembly.GetExecutingAssembly().GetManifestResourceStream("Test_Resources.Resources.Accounts.txt"))
  using (StreamReader reader = new StreamReader(stream))
  {
      // Would prefer string[] result = reader.ReadAllLines();
      string result = reader.ReadToEnd();
  }
  </code></pre>
  
  <p>Does there exist a way to do this or do I have to manually loop through the file line by line?</p>