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 / m.sivakumar

Dispose() is called by as an indication for an object to release any unmanaged resources it has held.

Finalize() is used for the same purpose as dispose however finalize doesn’t assure the garbage collection of an object.

Dispose() operates determinalistically due to which it is generally preferred.

Is This Answer Correct ?    2 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

In how many ways we can retrieve table records count?

1053


Why do we use asp.net?

1046


What is the difference between page-level caching and fragment caching?

975


Where viewstate value is stored in asp.net?

1088


How Session use Cookies in State Management?

1071


How to use ipostback?

1015


Explain the different parts that constitute ASP.NET application?

1017


Explain the difference between asp & asp.net.

1024


Which object is used to encapsulate the state of the client and the browser in ASP.NET?

1101


What are the data controls available in asp.net?

965


What is HTTPModule and HTTPcontext? What is the use of each?

2597


What are the different validators in asp.net?

1007


What is a user developed application?

938


Explain the disadvantages of viewstate?

1094


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

1172