| 1. |
Why Do We Need To Call Cg.supressfinalize? |
|
Answer» Requests that the system not call the finalizer method for the specified OBJECT. The method removes obj from the set of objects that require finalization. Objects that implement the IDisposable interface can call this method from the IDisposable.Dispose method to prevent the garbage COLLECTOR from CALLING Object.Finalize on an object that does not require it. Requests that the system not call the finalizer method for the specified object. The method removes obj from the set of objects that require finalization. Objects that implement the IDisposable interface can call this method from the IDisposable.Dispose method to prevent the garbage collector from calling Object.Finalize on an object that does not require it. |
|