From which of these classes, the character based output stream class Stream Writer is derived?

From which of these classes, the character based output stream class Stream Writer is derived?
A. TextWriter
B. TextReader
C. Character Stream
D. All of the mentioned
 
Answer: a
Explanation: StreamWriter is derived from TextWriter. To create a character-based output stream, wrap a Stream object (such as a FileStream) inside a StreamWriter.
 

Tìm kiếm

Back
Top