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 string primitive?

865


What is a framework in c#?

921


Can we create extension method for interface?

900


Is string nullable c#?

986


What is literal control

1003


What is the use of base keyword? Tell me a practical example for base keyword’s usage?

911


How to install or uninstall a windows service?

1026


Explain about ODP.net

1229


Can you pass parameters to destructors?

1039


Explain the Abstract class in c#.net

1006


What is the purpose of ienumerable in c#?

1003


What is difference between string and stringbuilder in c#?

942


Is an array an object c#?

931


What does the parsefloat function do?

908


Is post back c#?

923