Guest MemberLanguage   English
.NET & C# · C#

What is a common mistake with delegates and events in C#?

IntermediateUpdated 2026-08-08

A common mistake is keeping event subscriptions alive longer than the subscriber, which can prevent garbage collection. In practice, the value of this concept comes from understanding where it belongs in the design, what problem it solves, and what constraints or tradeoffs it introduces.

#csharp#delegates and events