reader class : Peek() method
Returns a next available character.
|string||A next available character.|
reader r = new reader("c:\somewhere...\sample.txt");
string next = r.Peek();
It's a wrapper of the System.IO.StreamReader.Peek() method.
Returns a string that represents the next character. If returned empty string, there is not a next character or the stream does not support seeking .
The current position of the reader is not changed by Peek().