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 |
Is a decimal an integer?
What?s an abstract class?
What is the difference between console application and windows application?
What is the main method in c#?
What is mvc in c#?
What is sqldataadapter in c#?
is it possible to access a remote web service Without UDDI?
What is the difference between array.find method and arraylist.find method?
I have 3 overloaded constructors in my class. In order to avoid making instance of the class do I need to make all constructors to private?
What's the c# syntax to catch any possible exception?
Distinguish between array and arraylist in c#?
What is routing in c#?