Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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

Answer Posted / rahupathi

Finalize and dispose are used to clean the objects from
memory. But Finalize will be called based on the GC. If you
finalize any object that will be moved to Finalize queaue.
When the time of the round trip of the GC. It will remove
the objects from Finlize queaue.So,it will not destroy the
object immediately. Unless dispose method will remove the
object immediatley without considering the GC.

Is This Answer Correct ?    16 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain the procedure to handle the process request using mhpm events fired? : asp.net mvc

1066


What are httphandlers and httpmodules and difference between them?

1063


Differentiate between file-based dependency and key-based dependency.

986


What is form method?

975


How to prevent client side validation from the ASP.NET validation controls?

1152


Explain the difference between inline and code behind - which is best in?

1061


What is the appSettings Section in the web.config file?

1141


What is asp net objects?

1125


In the Repeater control which way you can edit?

1146


How can we pass info between 2 asp.net pages?

1142


What is the difference between application state and session state in asp net?

1096


What is query string? What are its advantages and limitations?

1037


Who can consume WebAPI?

1060


Explain the difference between value type and reference type?

701


What is the difference between client-side and server-side validations in ASP.NET?

1238