BrandGhost
← Back to Language Features

Events

C# events and event-driven patterns

Articles

Events and Delegates in C#: Contracts, Subscriptions, and Notification

Events and Delegates in C#: Contracts, Subscriptions, and Notification

Understand events and delegates in C# through practical examples covering notification contracts, subscriptions, multicast calls, failures, and lifetime.

Read the whole article

Async EventHandlers - A Simple Safety Net to the Rescue

Async event handlers in C# are tricky: an async void event handler can swallow exceptions and crash your app. Use this simple safety-net pattern to handle them.

Read the whole article

An error has occurred. This application may no longer respond until reloaded. Reload