Click or drag to resize
BinaryReaderReadChar Method
Reads the next character from the current stream and advances the current position of the stream in accordance with the Encoding used and the specific character being read from the stream.

Namespace: System.IO
Assembly: mscorlib (in mscorlib.dll) Version: 4.0.0.0
Syntax
C#
public virtual char ReadChar()

Return Value

Type: Char
A character read from the current stream.
Exceptions
ExceptionCondition
EndOfStreamExceptionThe end of the stream is reached.
ObjectDisposedExceptionThe stream is closed.
IOExceptionAn I/O error occurs.
ArgumentExceptionA surrogate character was read.
See Also