Explicit Event add/remove, misunderstood?
        Posted  
        
            by Hammerstein
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by Hammerstein
        
        
        
        Published on 2010-05-27T18:48:48Z
        Indexed on 
            2010/05/27
            18:51 UTC
        
        
        Read the original article
        Hit count: 211
        
I've been looking into memory management a lot recently and have been looking at how events are managed, now, I'm seeing the explicit add/remove syntax for the event subscription.
I think it's pretty simple, add/remove just allows me to perform other logic when I subscribe and unsubscribe? Am I getting it, or is there more to it?
Also, while I'm here, any advice / best practices for cleaning up my event handles.
© Stack Overflow or respective owner