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

What is the extension of master page in asp.net?

551


Explain the main function of url routing system in asp.net mvc? : asp.net mvc

494


Explain what are the advantages of asp.net mvc framework? : asp.net mvc

527


what is the difference between response.write() and response.output.write()?

702


What is synchronous and Asynchronous post back ?

647






What are the two types of web pages?

522


In Data grid the question is below quantity price total these are 3 fields available in data grid if you enter quantity the total has to update automatically.Price field is already filled completely

1551


What is the asp.net control toolkit?

561


What is paging in context of Memory?

657


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

557


What are themes and skins in 2.0, explain usage scenario?

526


What is a pixel url?

516


What is cache in asp net?

538


Please briefly explain the usage of global.asax?

538


What is the concept of view state in asp.net?

565