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

what is linq to entities?

0 Answers   Microsoft,


Is it possible to unit test an mvc application without running the controllers in an asp.net process?

0 Answers  


If you change something in web.config file.Do u need to compile again?

5 Answers   Broadridge, SMNetserv,


What are the types of authentication in .net

1 Answers  


Can we create .DLL file without using the namespace?

4 Answers  


How to ensure the credentials for WebService using Windows authentication

1 Answers   Proteans,


What is the CTS

1 Answers  


what is mean by COM (component object model) and component based software development? Is it .NET is first COM based technology? Please answer me. Advance thanks.

1 Answers   Excel,


What is entityset? : Entity framework

0 Answers  


Explain Bundle.Config in ASP.Net MVC4?

0 Answers  


Difference between ASP.NET MVC and ASP.NET WebForms?

0 Answers  


If background completes its processing will it wait for foreground threads?

2 Answers   Kanbay,


Categories