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

What is a must for multitasking

0 Answers   InterGraph,


in the nunit test framework, which attribute must adorn a test class in order for it to be picked up by the nunit gui?

0 Answers   Siebel Systems,


Explain the features of an abstract class in net.

0 Answers  


Is c# good for games?

0 Answers  


What?s the top .NET class that everything is derived from?

3 Answers  


What is difference between comparable and comparator?

0 Answers  


How do you prevent a class from being inherited?

0 Answers  


Is c# still popular?

0 Answers  


What?s the advantage of using System.Text.StringBuilder over System.String?

3 Answers  


What is polymorphism? pl explain practically rather than theoretical?

3 Answers  


How do you escape c#?

0 Answers  


Can you declare the override method static while the original method is non-static?

5 Answers  


Categories