View Single Post
Old 03-04-2008   #1 (permalink)
Mike


 
 

Static Events Used By Static Classes

I am using a static event from the .NET framework and MSDN says:

"Because this is a static event, you must detach your event handlers
when your application is disposed, or memory leaks will result."

But I am using the event in a static class in a DLL so I can not
implement the disposable interface. Where should I detach the event?

Thanks,
Mike
My System SpecsSystem Spec