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 use of finalize and dispose eventhough garbage
collector is working?

Answers were Sorted based on User's Feedback



What is the use of finalize and dispose eventhough garbage collector is working?..

Answer / chinmay shah

We can perform finalize opertaion Immediately after
completing the work and same with dispose also while in
case of garbage collector it will dispose the object, until
it feels they are not in use.

Is This Answer Correct ?    6 Yes 2 No

What is the use of finalize and dispose eventhough garbage collector is working?..

Answer / bharani

Finalize method is actually a the destructor for the
mananged objects, but if you want to destruct an unmanaged
object dispose method allows the programmer to make
explicit calls such as destroywindow to the destruct the
unmanaged object.

Is This Answer Correct ?    3 Yes 0 No

What is the use of finalize and dispose eventhough garbage collector is working?..

Answer / chaitanya

It is advisable not to use the finalize and Dispose
methods,because garbage collector takes Care of the objects
that Should be Disposed.We should use Finalise and Dispose
methods when working with resources in the network or
working with the unmanaged code.

Is This Answer Correct ?    3 Yes 1 No

Post New Answer

More Dot Net Framework Interview Questions

Explain Sections is ASP.Net MVC?

0 Answers  


Name a few different return types of a controller action method?

0 Answers  


What is renderbody?

0 Answers  


How we can add the css in mvc?

0 Answers  


Is razor a server side?

0 Answers  


How do you create shared assemblies ?

1 Answers  


What is separation of concerns in asp.net mvc?

0 Answers  


What is .net framwork?

0 Answers  


What is a model in programming?

0 Answers  


Is any files are generated,when we are adding the web reference to the web service?

1 Answers  


How do you register the dotnet component or assembly ?

1 Answers   Accenture, BirlaSoft,


What is serialization ?

7 Answers   IBM, Karrox, MMTS,


Categories