# Event

*noun*

say it: **“ih-VENT”** **/ɪˈvɛnt/**

In C#, a member that other code subscribes to with += and unsubscribes from with -=, and that its class raises to tell every subscriber something happened.

## What is **Event** in C#?

**Event** — A member that lets an object notify subscribed code that something happened.

```csharp
class Door
{
    public event EventHandler? Opened;
}
```

## In a sentence

- “The door's Changed **event** replaced twenty lines of hand-written listener list.”

Level: Freelancer · [More C# terms at this level](https://www.ask-codey.com/glossary?category=c-sharp&level=4)

Updated: November 9, 2026

## In other subjects

- [Event in JavaScript](https://www.ask-codey.com/glossary/event-javascript-2)

Source: https://www.ask-codey.com/glossary/event
