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 Multiple-inheritance supported by c#?
What is a string c#?
What is the difference between string keyword and system.string class?
Is datetime a value type in c#?
How do you create dlls in .NET
What is a Jagged Array in C#?
Explain partial class in c#?
What is c# most used for?
What are the steps to create a webservice and consume it?
What do you mean by generic class in c#?
What is predicate builder?
How are methods overloaded?
What are functions in c#?
What do you mean by for each loop?
What is sqlcommandbuilder c#?