Mono Class Library: System.IO Namespace

System.IO.TextReader Class

Represents an object that can read a sequential series of characters. [Edit]

See Also: TextReader Members

System.Object
     System.MarshalByRefObject
          System.IO.TextReader

[System.Runtime.InteropServices.ComVisible(true)]
public abstract class TextReader : MarshalByRefObject, IDisposable

Thread Safety

All public static members of this type are safe for multithreaded operations. No instance members are guaranteed to be thread safe.

Remarks

System.IO.TextReader is designed for character input, whereas the System.IO.StreamReader is designed for byte input and the System.IO.StringReader class is designed for reading from a string.

By default, a System.IO.TextReader is not thread safe. For information on creating a thread-safe System.IO.TextReader , see TextReader.Synchronized(TextReader) .

[Edit]

Requirements

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