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
Where you store Connection string in "Web.Config" file in ASP.NET?
What is Razor View Engine
How do you design a website with multilingual support in ASP.NET ?
What is webresource axd?
What is postback in asp net?
What is bound controls
What is difference between Fragment Caching and Page Caching in ASP.NET?
What is the difference between typeof() vs gettype()?
How many types of sessions are there in asp net?
Where session variables are stored?
What is the use of session?
Explain the reason why the javascript validation not run on the asp.net button but run successfully on the html button?
What are the two Layouts supported by a Web form in ASP.NET?
What is another word for redirect?
Explain the asp.net mvc request life cycle? : asp.net mvc