TYPE

EventHandler<TEventArgs>

Delegate type for notifications carrying typed data.

Formal Syntax & Structure

csharp syntaxcsharp
void Handler(object? sender, TEventArgs e)

Working Example

Example Snippetcsharp
// Documentary fragment; supply surrounding declarations as needed.EventHandler<int> h = (_, value) => Console.WriteLine(value);
C# & .NET Reference