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

Answer Posted / rajkumar

If we want to delete resources(objects) those are not using,
u should not worry about that GC implicit y call Finalize()
method and remove all such object but if u want to delete
object forcefully(The large obj u want to delete after
completely task) then u can explicity call Dipose() method.

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Where you store Connection string in "Web.Config" file in ASP.NET?

576


What is Razor View Engine

601


How do you design a website with multilingual support in ASP.NET ?

538


What is webresource axd?

458


What is postback in asp net?

560






What is bound controls

578


What is difference between Fragment Caching and Page Caching in ASP.NET?

575


What is the difference between typeof() vs gettype()?

549


How many types of sessions are there in asp net?

516


Where session variables are stored?

537


What is the use of session?

517


Explain the reason why the javascript validation not run on the asp.net button but run successfully on the html button?

560


What are the two Layouts supported by a Web form in ASP.NET?

548


What is another word for redirect?

504


Explain the asp.net mvc request life cycle? : asp.net mvc

493