What is the use of finalize and dispose eventhough garbage
collector is working?

Answer Posted / bharani

Finalize method is actually a the destructor for the
mananged objects, but if you want to destruct an unmanaged
object dispose method allows the programmer to make
explicit calls such as destroywindow to the destruct the
unmanaged object.

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is Area in ASP.Net MVC?

622


What is viewstart page in mvc?

589


What is .net architecture and framework?

590


What is the difference between ViewData, ViewBag and TempData?

650


What is the use of viewmodel in mvc?

630






what is dot net? what is use dot net? what is benifit of dot net?what is vb dot net? what is ado dot net? what is c#?

1815


How to change the action name in ASP.Net MVC?

584


differences between poco, model first and data first approach?

606


What are the components of the .net framework.

590


What is page life cycle?

535


Explain dependency resolution?

628


How to Create an Intranet Site Using ASP.NET MVC?

607


What is managed extensibility framework?

570


How does servicing work for the .net framework 3.0?

547


What is asp net framework?

526