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 Dispose method in .NET ?

Answer Posted / prashant patil

A type's Dispose method should release all the resources
that it owns. It should also release all resources owned by
its base types by calling its parent type's Dispose method.
The parent type's Dispose method should release all
resources that it owns and in turn call its parent type's
Dispose method, propagating this pattern through the
hierarchy of base types.

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is difference between web and window application?

799


What do you mean by thread safe in c#?

825


What is the difference between abstract and virtual?

848


What you mean by delegate in c#?

836


What is a delegate? How can it works?

1033


What is difference between static and readonly in c#?

920


How can we make a thread sleep for infinite period ?

942


What is difference between private and protected?

942


Is versioning applicable to private assemblies?

927


Why do we need ienumerable in c#?

856


Can constructor be protected in c#?

882


So what makes your code really object-oriented #?

901


Explain about c# language.

1001


Can we inherit a class with private constructor in c#?

998


What is the use of GC.KeepAlive Method?

1083