Navigate to list of lectures -- Keyboard shortcut: 'u'  Previous lecture -- Keyboard shortcut: 'p'  Next lecture -- Keyboard shortcut: 'n'  Course home        Alphabetic index  Exit possible frame set        First slide  First annotated slide  Lecture notes - all slides and notes together  Textbook of this lecture      PDF print page        Help page about these notes
Lecture 6

LECTURE 6:
Operators, Delegates, and Events

Kurt Nørmark ©
Department of Computer Science, Aalborg University, Denmark

Title page            Abstract            References from this lecture            Exercises in this lecture            Source programs in this lecture            

A complete PDF version of the text book is now available. The PDF version is an almost complete subset of the HTML version (where only a few, long program listings have been removed). See here.

Page 1Overloaded OperatorsPage 11Events
Page 2Why operator overloading?Page 12Events
Page 3Overloadable operators in C#Page 13Events in C#
Page 4An example of overloaded operators: IntervalPage 14Examples of events
Page 5Some details of operator overloadingPage 15Patterns and Techniques
Page 6DelegatesPage 16Motivation - Example
Page 7Delegates in C#Page 17The observer design pattern
Page 8Delegates that contain instance methodsPage 18An Observer Example
Page 9Multivalued delegatesPage 19Observer with Delegates and Events
Page 10Lambda ExpressionsPage 20Observer Example with Delegates and Events

LENO - LEcture NOtes with LAML technologyGenerated: Monday February 7, 2011, 12:15:45
Program Oriented Web Engineering - using LAML