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
How do you declare an interface in c#?
How assembly versioning in .NET prevent DLL Hell problem?
How to exclude a property from xml serialization?
What are concrete classes?
What does the parsefloat function do?
Why do we need abstract class?
Why is main static in c#?
In which order the constructor is called for an inherited class?
What is Assembly. and Describe type of assembly. why most developer happy with private assembly.
What is deadly diamond problem?
Is type nullable c#?
What is lock in c#?
Can I fly with a loop recorder?
What are the fundamental differences between value types and reference types?
Explain about finalize method?