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

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

1176


Which is an advantage of application service providers?

900


What are the advantages of the code-behind feature?

986


Which class is used to send an email message from an ASP.NET Web page?

1026


Difference between singleton and singlecall.

984


How can we prepairing Interview

2336


How can we update records in gridview?Is there any appropriate code for it?

2168


What is Web API?

1165


What are the different authentication modes in asp.net?

1020


What is the difference between cache and cookies?

1024


Explain the difference between asp.net mvc and asp.net webforms? : asp.net mvc

1033


What is the use of ASP.NET routing?

1067


How Can assign alias name for ASP.NET Web API Action?

1455


What are server-side comments in ASP.NET?

949


What is difference between URL and URI?

1137