Provides a System.IO.TextReader with no data to read from.
Value: null
Reading from the TextReader.Null text reader is similar to reading from the end of a stream:
- TextReader.Read() and TextReader.Peek methods return -1
- TextReader.Read(char[], int, int) and TextReader.ReadBlock(Char[], int, int) methods return zero
- TextReader.ReadLine and TextReader.ReadToEnd methods return null.
Namespace: System.IO
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0