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 an icollection in c#?

890


What is better C# or VB.NET?

947


what is a enumeration in c#

1043


How to handle exceptions that are raised in a component?

1085


What is the difference between static class and sealed class in c#?

928


What is the file extension for c#?

1033


Can you have more than one namespace in c#?

940


What are jump statements in c#?

961


Explain how many types of exception handlers are there in .net?

943


Where do we use static class in c#?

916


What is difference between static and readonly in c#?

1021


List down the commonly used types of exceptions in .net

889


what optimizations does the c# compiler perform when you use the /optimize+ compiler option?

1052


What is a factory in c#?

879


What is difference between a function and a method?

933