How can you clean up objects holding resources from within
the code?
Answer Posted / mohan kumar e.
We can cleanup objects by implementing IDisposable
interface and providing the implementation for Dispose
method.
| Is This Answer Correct ? | 3 Yes | 1 No |
Post New Answer View All Answers
What is eager and lazy loading in c#?
What is the difference between public, static, and void?
Why do I get an error (cs1006) when trying to declare a method without specifying a return type?
Illustrate the differences between the system.array.copyto() and system.array.clone()?
What are generic types?
How do you specify a custom attribute for the entire assembly?
Is string value type c#?
What are the advantages of using assemble language programming?
What is default value of decimal c#?
In which way you can convert a value-type to a reference-type?
What are the Configuration files in .net?
What is object pool in .net?
What is string pool in c#?
what are implementation inheritance and interface inheritance?
What is a dbml?