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 what is the reason of occurring overflow-underflow arithmetic exception error, it shows error message when we run our program by adding control?
What are the similarities and difference between class and structure in .net?
Which namespace is used to support multithearding in .NET?
What are the differences between an interface and an abstract class in .net?
What's a windows process in .net?
How to debug failed assembly binds?
What is "common language runtime" (clr) in .net?
Explain how do assemblies find each other?
What is the base class of Button control in .NET?
What is a web service in .net?
What is dot net and its uses?
What is common language specification (cls)?
How many design patterns can be created in .net?
What is deferred execution vs. Immediate execution in linq?
How is .net able to support multiple languages?