How can you clean up objects holding resources from within
the code?
Answers were Sorted based on User's Feedback
Answer / 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 |
Can a try block have more than one catch block?
What is garbage collection and how it works ?
Do you know what is garbage collector?
What is Global Assembly Cache (GAC) and what is the Purpose of it?
What is Finalizer in .NET define Dispose and Finalize ?
How can I tell if .net 3.5 is installed?
Difference between value type & reference types ?
Explaing your project.
Explain the process of compilation in .NET?
What are HTML controls, Web controls, and server controls?
What’s different between process and application in .net?
How to instantiate a delegate?