What is the difference between dispose() and finalize()?
Although Dispose and Finalize both methods are used by CLR to perform garbage collection of runtime objects of .NET applications but there is a difference between them. The Finalize method is called automatically by the runtime while the Dispose method is called by the programmer. In .NET, Dispose() and Finalize() are both methods used for … Read more