What is the Difference B/W Finalize() and Dispose() in .Net?

Answer Posted / nitin kumar

Dispose() Method is used to release Unmanage Resources.
When Unmanage Resources are no longer in use and Referenced
and is called Manually.


and

Finalize() Method is similar to Dispose Method But it is
called by the Garbage Collector.

Is This Answer Correct ?    9 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What methods are fired during the page load? Init()

522


What symbol would you use to denote, the start of a code block in aspx views?

573


where can i gather the materials for MCP certification

4492


What is http post action?

547


Is it possible for me to change my aspx file extension to some other name?

586






What is manifest in .net framework?

543


Explain MVC model binders?

599


What are the media types of http requests and response?

512


When should I use server transfer and response redirect?

516


What is application and session in asp.net?

538


What kind of programming language is ASP.NET?

612


What is session state server?

623


How would you get asp.net running in apache web servers? Explain it's limitations.

531


Describe session handling in a webfarm, how does it work and what are the limits?

586


What is the adavantage of using ASP.NET routing?

650