The TextReader and TextWriter classes are implemented by several character-based stream classes. : TextReader TextWriter « File Directory Stream « C# / CSharp Tutorial






Stream ClassDescription
StreamReaderRead characters from a byte stream. This class wraps a byte input stream.
StreamWriterWrite characters to a byte stream. This class wraps a byte output stream.
StringReaderRead characters from a string.
StringWriterWrite characters to a string.


15.22.TextReader TextWriter
15.22.1.The Input Methods Defined by TextReader
15.22.2.TextWriter defines Write() and WriteLine() that output all of the built-in types.
15.22.3.The TextReader and TextWriter classes are implemented by several character-based stream classes.
15.22.4.Writing to a writer