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 / tarun singla

Easiest way is to make the value of that object as null,
once the scope of that object is over. We generally do this
in the 'finally' section of the code.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can we inherit private class in c#?

944


What is the difference between system.string and system.text.stringbuilder classes?

1002


What is a thread? What is multithreading?

936


Which of these string definitions will prevent escaping on backslashes in c#?

1009


Which is faster dictionary or hashtable?

852


Between windows authentication and sql server authentication, which one is trusted and which one is untrusted?

972


Is it possible to have different access modifiers on the get/set methods of a property in c#?

985


What is meant by unicode characters?

985


When Should You Call The Garbage Collector In .net?

1044


How do I create a new form in c#?

986


What is the keyword used to prevent a class from being inherited by another class?

1124


What is ado c#?

951


What is executereader in c#?

903


What is an escape sequence?

927


Can a method be sealed in c#?

915