TextReader Class

Represents a reader that can read a sequential series of characters.

Namespace: System.IO
Assembly: mscorlib (in mscorlib.dll)

Syntax

public abstract class TextReader : IDisposable

Remarks

TextReader is the abstract base class of StreamReader and StringReader, which read characters from streams and strings, respectively. Use these derived classes to open a text file for reading a specified range of characters, or to create a reader based on an existing stream.

Version Information

Available in the .NET Micro Framework versions 3.0, 4.0, 4.1, and 4.2.

See Also

Reference

TextReader Members
System.IO Namespace