My pair programming buddy and I got into an interesting discussion recently about .NET and memory leaks.
It is my understanding that, although rare, memory leaks do occur in .NET. I believe that one of the places where this can happen is with non-released event handlers.
His argument was that because .NET is garbage collected, no memory leaks can occur.
So, now I am confused. Can anyone share some light on this? Ideally with some examples.