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?

Answers were Sorted based on User's Feedback



how to cleanup object that does not support dispose method? How to implement dispose for such scena..

Answer / rahul

i guess by using final function , but it is heavy operation.

Is This Answer Correct ?    2 Yes 0 No

how to cleanup object that does not support dispose method? How to implement dispose for such scena..

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

More C Sharp Interview Questions

Are multiple data types stored in System.Array?

0 Answers   Siebel,


Are structs value types or reference types?

0 Answers  


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

0 Answers  


What is a datacontract?

0 Answers  


Can you describe iuknown interface in short?

0 Answers  


What do you mean by abstract class in c#?

0 Answers  


What’s thread.sleep() in threading ?

0 Answers  


What is a dbml?

0 Answers  


What is the benefit of dependency injection c#?

0 Answers  


Is namespace a class?

0 Answers  


Why we can't create the object of abstract class ?

15 Answers   Assyst, CTS, HCL, IBM, L&T,


what is the purpose of Interfaces?

7 Answers   HCL,


Categories