C# Garbage Collecting – Destructors Versus Dispose
In C# it is illegal to call a destructor explicitly it must be called by the garbage collector. If you handle unmanaged resources that need to be closed and disposed of as soon as possible, you should implement the IDisposable interface. IDisposable requires implementers to define one method, named Dispose(), to perform the necessary [...]
Read more



6:37 am by admin