How can you clean up objects holding resources from within
the code?
Answer Posted / raju jaiwardhan
you would need to use a constraint to mandate types
implementing the IDisposable interface to call the Dispose
method.
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
Explain me difference between public and static modifiers?
What are the deferred execution and the immediate execution in linq?
What is smart navigation in .net?
Is .net is a language?
Can I write il programs directly?
Can you explain what do you understand about web service?
What is deferred execution vs. Immediate execution in linq?
what is prototype design pattern in .net
What are the different types of memory in .net?
Tell us what is a sealed class?
What is .net and .net framework?
Please explain what is the difference between constants and read-only variables?
What are the similarities and difference between class and structure in .net?
Define code access security (cas)?
Difference between class and interface in .net?