|
Re: Program not closing?
To cleanup managed resources derive from IDisposable and carry out your routine in the implementation of the Dispose method. Destructors should be used to cleanup unmanaged resources and wont work as you probably expect for managed types.
|