Skip to content

Glossary: C# Beyond the Basics

event

Also written: events, subscribe, raise, unsubscribe

A member that lets a class announce that something happened, like `LowStock` on `StockRoom`. Other code subscribes with `+=` and unsubscribes with `-=`, and only the class itself can raise it.

Where the book teaches it

Related terms

delegateEventHandler<T>Func and Action