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
Is is possible to force garbage collector to run?
What are jagged arrays used for?
What is a long in c#?
Can I use ReaderWriterLock instead of Monitor.Enter/Exit for Threading?
What is a framework in c#?
What is the difference between a private assembly and a shared assembly?
Is 0 an unsigned integer?
Name which controls do not have events?
Can a sealed class be used as a base class?
What is dictionary class in c#?
Is datetime immutable c#?
Which is faster abstract class or interface in c#?
Is overriding of a function possible in the same class?
What is string method in c#?
Can you drink alcohol with a loop recorder?