wyrd
Senior Contributor
If your class implements IDisposable, is it guaranteed to be called by the application that it was created in when the application exits? For example, you forgot to Dispose of a class or you have a class that has a static member which is implements IDisposable. In both cases, will the application call Dispose for you when it is exited?