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
Answer / rahul
i guess by using final function , but it is heavy operation.
Is This Answer Correct ? | 2 Yes | 0 No |
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 |
What is desktop GUI application?
Value Type and Reference Type Data type in C#?
Will the following code compile and run?
What you mean by delegate in c#?
Explain the features of an abstract class in net.
Which is more efficient for loop or while loop?
Can you allow class to be inherited, but prevent the method from being over-ridden?
How to navigate from one page(form) to another page(form) using C#.net...please give me the example
What is nullable types in c#?
What is singleordefault?
Define MSIL, and how does it works? Why our developers need an appreciation of it if at all?
What is dto c#?