| Lecture 6 |
LECTURE 6: Operators, Delegates, and Events Kurt Nørmark © |
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 1 | Overloaded Operators | Page 11 | Events | |
Page 2 | Why operator overloading? | Page 12 | Events | |
Page 3 | Overloadable operators in C# | Page 13 | Events in C# | |
Page 4 | An example of overloaded operators: Interval | Page 14 | Examples of events | |
Page 5 | Some details of operator overloading | Page 15 | Patterns and Techniques | |
Page 6 | Delegates | Page 16 | Motivation - Example | |
Page 7 | Delegates in C# | Page 17 | The observer design pattern | |
Page 8 | Delegates that contain instance methods | Page 18 | An Observer Example | |
Page 9 | Multivalued delegates | Page 19 | Observer with Delegates and Events | |
Page 10 | Lambda Expressions | Page 20 | Observer Example with Delegates and Events |
Generated: Monday February 7, 2011, 12:15:45 |