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 string primitive?
What is a framework in c#?
Can we create extension method for interface?
Is string nullable c#?
What is literal control
What is the use of base keyword? Tell me a practical example for base keyword’s usage?
How to install or uninstall a windows service?
Explain about ODP.net
Can you pass parameters to destructors?
Explain the Abstract class in c#.net
What is the purpose of ienumerable in c#?
What is difference between string and stringbuilder in c#?
Is an array an object c#?
What does the parsefloat function do?
Is post back c#?