Returns a next available character.
|int||A next available character.|
//anyReader is an any instance of reader type.
int next = anyReader.Peek();
It's a wrapper of the System.IO.StreamReader.Peek().
Returns an integer that represents the next character. If returns -1, there is not a next character or the stream does not support seeking .
The current position of the reader is not changed by Peek().
Links for reference