Hi
What is the difference between Garbage Collection and Dispose Method ?
Loading
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
VulpesPosted May 28, 2012, 1:51 PM
Satyapriya NayakPosted May 28, 2012, 1:16 PM
If you want to delete resources(objects) those are not using you should not worry about that garbage collecter implicitly call finalize() method and remove all such object but if you want to delete object forcefully(The larger object you want to delete after completing task) than you can explicitly call dispose() method.
Thanks