Lecture overview -- Keyboard shortcut: 'u'  Previous page: Events -- Keyboard shortcut: 'p'  Next page: Examples of events -- Keyboard shortcut: 'n'  Lecture notes - all slides together  Annotated slide -- Keyboard shortcut: 't'  Textbook -- Keyboard shortcut: 'v'  Alphabetic index  Help page about these notes  Course home    Operators, Delegates, and Events - slide 13 : 20

Events in C#

From inside some class, an event is a variable of a delegate type.

From outside a class, it is only possible to add to or remove from an event.

Events are intended to provide notifications, typically in relation to graphical user interfaces.

There exists a generic delegate EventHandler<TEVentArgs> which is intended to be used as the type of standard events in .NET