Lecture overview -- Keyboard shortcut: 'u'  Previous page: An Observer Example -- Keyboard shortcut: 'p'  Next page: Observer Example with Delegates and Events -- 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 19 : 20
Object-oriented Programming in C#
Operators, Delegates, and Events
Observer with Delegates and Events

It is possible to implement the observer design pattern with events and delegates

/user/normark/oop-csharp-1/sources/c-sharp/patterns/observer/template-with-events/subject-only.csTemplate of the Subject class.


/user/normark/oop-csharp-1/sources/c-sharp/patterns/observer/template-with-events/observer-only.csTemplate of the Observer class.


/user/normark/oop-csharp-1/sources/c-sharp/patterns/observer/template-with-events/client.csApplication of the Subject and Observer classes. This program is explained