Click or drag to resize
StreamReaderEndOfStream Property
Gets a value that indicates whether the current stream position is at the end of the stream.

Namespace: System.IO
Assembly: mscorlib (in mscorlib.dll) Version: 4.0.0.0
Syntax
C#
public bool EndOfStream { get; }

Return Value

Type: Boolean
true if the current stream position is at the end of the stream; otherwise false.
Exceptions
ExceptionCondition
ObjectDisposedExceptionThe underlying stream has been disposed.
See Also