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...

How can you clean up objects holding resources from within
the code?

Answer Posted / ramesh

We can clean up object holding resources by using dispose()
method. Example
DataSet DS=new DataSet()

DS.Dispose()

Is This Answer Correct ?    5 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is xamarin used for?

936


Give an example to show for hiding base class methods?

857


What is Private Constructor? and it’s use? Can you create instance of a class which has Private Constructor?

983


How many constructor can a class have?

1003


What is the use of console application in c#?

928


How do I declare a pure virtual function in c#?

993


What is polymorphism in c sharp?

994


Do vs while c#?

905


What is new method in c#?

932


What is the main usage of keyword “virtual” ? How does it work for a method or property?

918


What are generic types?

938


Give some examples of commonly used i/o classes?

921


How can we make a thread sleep for infinite period ?

1004


Why can't we use a static class instead of singleton?

880


what is method overloading in c#?

1052