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
How to sort an int array in c#?
What is a factory in c#?
What is binary search tree in data structure?
Why do we need abstraction in c#?
What is difference between a constant and read-only in C#?
What is ildasm and obfuscator in net?
What is oledbconnection c#?
How do you prevent a method from being overridden in c#?
Explain “static” keyword in c#?
Structs are not reference types. Can structs have constructors?
What is session and cookies in c#?
Why do we use classes?
Explain the importance and use of each, version, culture and publickeytoken for an assembly.
Are value types sealed?
What is difference between assembly and dll?