What is the difference between Finalize() and Dispose() methods?
Gautam Kumar
Select an image from your device to upload
The main difference between dispose() and finalize() is that the method dispose() has to be explicitly invoked by the user whereas, the method finalize() is invoked by the garbage collector, just before the object is destroyed.