System.IO.TextReader.Null Field

Provides a TextReader with no data to read from.

Value: null

Syntax

public static readonly TextReader Null

Remarks

Reading from the TextReader.Null text reader is similar to reading from the end of a stream:

Requirements

Namespace: System.IO
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0