Share via


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 .NET Micro Framework version 3.0 and above.

See Also

Reference

TextReader Members
System.IO Namespace