Lecture overview -- Keyboard shortcut: 'u'  Previous page: The observer design pattern -- Keyboard shortcut: 'p'  Next page: Observer with Delegates and Events -- Keyboard shortcut: 'n'  Lecture notes - all slides together  Annotated slide -- Keyboard shortcut: 't'  Alphabetic index  Help page about these notes  Course home    Operators, Delegates, and Events - slide 18 : 20

An Observer Example
We show the concrete programs that implement observer in the weather center scenario.
observer.cs
A WeatherCenter (subject) and TemperatureWatcher (observer).
client.cs
Application of the WeatherCenter and TemperatureWatcher.
output
Output of the WeatherCenter and TemperatureWatcher application.
It would be useful if a number of different classes could act as observers