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?

Answers were Sorted based on User's Feedback



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

Answer / nishant

To Release the Memory Occupied by Object by implicit way
then use finalize() Method...And release the Memory by
Explicit Way then Use dispose() Method..

Is This Answer Correct ?    0 Yes 0 No

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

Answer / sushma

A Dispose() method is explicit, meaning you code Dispose()
up and explicitly call it in your application or system
code. A Finalize() method is implicit, meaning you code
Finalize() up but never actually call it — Finalize() is
called behind the scenes by the .NET GC mechanism.

The GC call the Finalize() function automatically to destroy
the object called implicit destroy. when you want to destroy
a objects that you think no longer need and free it from
memory, then we will use the dispose function. For better
performance we will use the dispose function explicitly.

Is This Answer Correct ?    5 Yes 7 No

Post New Answer

More ASP.NET Interview Questions

Can asp.net work on an nt server?

0 Answers  


What is caching in asp.net?

0 Answers  


Explain the basic functionality of garbage collector?

0 Answers  


what are the Custom controls in asp.net?

0 Answers   MCN Solutions,


Define xmlreader class.

0 Answers  


What are the types of authentication in asp.net?

0 Answers  


If Instancing = Single use for ActiveX Exe, how will this be executed if there are 2 consecutive client requests ?

0 Answers   DELL,


How to retrieve the information from datatable citywise in c#?

2 Answers   HCL,


what r the Templeats in ASP.net?

5 Answers   Intel, VBV,


What is asp net objects?

0 Answers  


What are Http handler ?

1 Answers   Patni,


For Web services where you can browse on the Internet?

1 Answers   Siebel,


Categories