1.

Explain the differences between Dispose and Finalize() in VB.Net?

Answer»
S.noFinalizeDispose
1.CALLED by Garbage collectorHandled by IDisposable interface
2.Help get rid of UNMANAGED resources.Helps in releasing unused resources.
3.It is called only when there are no valid references.Called even if other references are alive.
11. What do you mean by Garbage COLLECTION?

Garbage collection, also called automatic memory management, is used to RECYCLE dynamically allocated memory automatically. This function is performed by Garbage collector that reclaims memory if it gets proved that mind will stay unused.



Discussion

No Comment Found