.NET & C# · C#
What is a common mistake with delegates and events in C#?
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.