Lecture overview -- Keyboard shortcut: 'u'  Previous page: Members in class StreamWriter -- Keyboard shortcut: 'p'  Next page: StreamReader Examples -- Keyboard shortcut: 'n'  Lecture notes - all slides and notes together  slide -- Keyboard shortcut: 't'  Textbook -- Keyboard shortcut: 'v'  Help page about these notes  Alphabetic index  Course home  Page 15 : 40
Object-oriented Programming in C#
Input and Output Classes
The class TextReader

Class TextReader supports reading of characters via a chosen encoding

Class TextReader does not have methods to read textual representation of simple types

  • Subclasses of the abstract TextReader class

    • StreamReader: For character input in a particular character encoding

    • StringReader: For stream access to a string - (discussed later in the lecture)