January 2003
Intermediate to advanced
896 pages
19h 58m
English
The StreamReader and StreamWriter classes derive from the TextReader and TextWriter abstract classes. These classes perform input and output of characters with a stream using a particular encoding to translate the characters into bytes and bytes into characters so that the underlying stream can be read from or written to. These classes offer a simpler, higher level interface than the underlying Stream object, and they can read or write strings.
The constructors for the StreamReader and StreamWriter classes allow you to create your own Stream object and create a StreamReader or StreamWriter class by passing the stream as a parameter. Both classes also allow ...
Read now
Unlock full access