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 an exception be thrown from a catch block?

1067


How do I unload an application domain?

990


What do you mean by delegates and explain different types of delegates?

1013


How we convert private assembly into public assembly?

1007


From a versioning perspective, what are the drawbacks of extending an interface as opposed to extending a class?

1003


Is c sharp open source?

926


What are the ways in which client can create object on server in cao model?

1014


What is typeof c#?

1004


How to sign an assembly with strong name?

1063


What is a boolean c#?

944


What is data type in c# with example?

1110


What are the 2 broad classifications of data types available in c#?

920


What is singleordefault?

953


What is data types in c#?

999


What does console readline do?

937