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 to cleanup object that does not support dispose method?
How to implement dispose for such scenarios?

Answer Posted / yogi

Can use System.GC.Collect() to clean up objects and force the garbage collection manually

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is Multiple-inheritance supported by c#?

949


What is a string c#?

866


What is the difference between string keyword and system.string class?

1041


Is datetime a value type in c#?

850


How do you create dlls in .NET

1020


What is a Jagged Array in C#?

964


Explain partial class in c#?

871


What is c# most used for?

944


What are the steps to create a webservice and consume it?

881


What do you mean by generic class in c#?

886


What is predicate builder?

888


How are methods overloaded?

958


What are functions in c#?

863


What do you mean by for each loop?

881


What is sqlcommandbuilder c#?

883