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 / neerajtyagi

Whenever you want to release unusable resources used by
your class automatically , you should implement IDisposable
interface in your class.

Implementing IDisposable will provide you Dispose method in
subclass, where you can code your own to release unused
resources.

Is This Answer Correct ?    7 Yes 8 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can arraylist store different data types in c#?

997


What is a hash table in c#?

1003


What is event sourcing in c#?

974


what is partial assembly reference

942


Is c# pass by reference?

889


What is xslt in c#?

861


What is jit? What are the different types of jit?

1012


Can we use "this" command within a static method?

995


Do loops c#?

885


When should we use sealed class in c#?

898


Which one is trusted and which one is untrusted?

929


What is difference between array and list in c#?

861


List down the reason behind the usage of c# language.

1303


Why do we overload constructors?

893


Can you inherit from multiple classes in c#?

873