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 are the disadvantages of using session?

467


Where is session cookies stored?

518


Is it possible to create web application with both webforms and mvc?

532


What is meant by ispostback in asp net?

538


How can we provide the WebParts control functionality to a server control?

564






What do you mean by authorization?

518


Difference between application events and session events

586


What r the asp.net list controls and diff. Between them?

501


From which base class all web forms are inherited?

497


Explain the difference between server control and html control.

474


What is the behavior of a Web browser when it receives an invalid element?

620


What does occur first in ASP.Net, Authentication or Authorization?

560


Can you use c# without .net?

540


What are the security types in ASP/ASP.NET? Different Authentication modes?

556


Explain how is the asp.net mvc architecture different from others? : asp.net mvc

500