Extension methods to Streams

AsTextLines()

Reads a stream as text, line by line.

foreach (string line in stream.AsTextLines())
{
	Console.WriteLine(line);
}

Last edited Nov 13, 2012 at 4:23 PM by BlueCode, version 1

Comments

No comments yet.