👩💻 Join our community of thousands of amazing developers!
In C# and other GC languages such as JavaScript, delegates (most typically used as event handlers) capture strong references to objects in their closures. This means that you can create reference cycles that are beyond the ability of the GC to collect. The post Windows Runtime delegates and object lifetime in C# and other GC languages appeared first on The Old New Thing....