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

Explain about finalize method?

945


How can we sort the elements of the array in descending order?

944


What is private constructor c#?

925


Name any three ways to pass parameters to a method in c#?

925


Explain the difference between arraylist and array and in c#?

946


Explain the difference between the debug class and trace class?

895


What is the difference between delegates and events in c#?

995


When would you use generics in your code c#?

915


What is the value which is accepted by all data types ?

999


What is a custom attribute?

898


Why delegate is used in c#?

927


What is the difference between ienumerable and enumerator?

912


What is console write in c#?

934


Is array passed by reference in c#?

967


What I can do with c#?

948