C# Event Subscriptions: Identity, Unsubscription, and Lifetime
Understand C# event subscriptions with complete examples for handler identity, duplicate removal, retained wrappers, owned lifetime, and dispatch snapshots.
C# and .NET by Nick Cosentino
Practical, in-depth content for software engineers and technical leaders. Learn C#, .NET, software architecture, AI-assisted development, and engineering leadership with guidance you can apply on your team today.

The latest articles on software engineering, architecture, AI, and career growth.
Understand C# event subscriptions with complete examples for handler identity, duplicate removal, retained wrappers, owned lifetime, and dispatch snapshots.
Understand MongoDB indexes in C# through query shapes, compound key order, write maintenance, and explain evidence without inventing performance guarantees.
Learn safe refactoring in C# with a worked workflow for recording behavior, making small changes, reviewing semantic differences, and preserving API contracts.
Learn composition in C# through dependency ownership, shared references, and disposal boundaries, including why borrowers should not dispose injected services.
Go deeper into the core topics on Dev Leader, from .NET and AI to software engineering and career growth.