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 / nagasaichand

2 PROCEDURES FORT THIS:
1)Make that value of object as null once the scope is finished.
2)use dispose(); method

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How can you sort strings in array that are passed to method as arguments?

934


In which situation(s), the use of "Delegate" is a good idea?

934


What is the difference between function and method in c#?

869


What is difference between property and variable in c#?

846


Is c and c# the same?

870


Explain the importance and use of each, version, culture and publickeytoken for an assembly.

882


What is the use of ienumerable in c#?

995


How many types of polymorphism are there?

900


Explain the clr triggers?

911


What is a byte in c#?

940


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

885


List some of the basic string operation?

881


Differentiate between method overriding from method overloading with its functionality?

978


Can a struct have a default constructor (a constructor without parameters) or a destructor in c#?

940


What is difference between yielding and sleeping?

849