Lecture overview -- Keyboard shortcut: 'u'  Previous page: Streams [Section] -- Keyboard shortcut: 'p'  Next page: The abstract class Stream in C#  -- 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 2 : 40
Object-oriented Programming in C#
Input and Output Classes
The Stream Concept

A stream is a flow of data from a program to a backing store, or from a backing store to a program

The program can either write to a stream, or read from a stream.

Reading from and writing to a stream

  • Streams and stream processing

    • Reading from or writing to files in secondary memory (disk)

    • Reading from or writing to primary memory (RAM)

    • Connection to the Internet

    • Socket connection between two programs