The StreamReader and StreamWriter classes let a program read and write data in an underlying stream, often a FileStream. They implement the features defined by their parent classes TextReader and TextWriter. See the section “TextReader and TextWriter” earlier in this appendix for a list of the features.