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

What are custom exceptions? Why do we need them?

961


What is disco?

914


What is datarelation c#?

872


What is a static class in c#?

984


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

924


What is the difference between finalize() and dispose()?

906


Why interface is required?

825


What is the difference between overriding and overloading in systemverilog?

960


How can you use abstract class and interface?

1117


What is managed or unmanaged code?

1048


What is different about switch statements in c#?

855


What are the different types of assemblies available and their purpose?

904


What is the difference between serialization and deserialization in c#?

1019


Can you describe iuknown interface in short?

1137


What is sealed class in c#?

884