What is Dispose method in .NET ?
Answer Posted / prashant patil
A type's Dispose method should release all the resources
that it owns. It should also release all resources owned by
its base types by calling its parent type's Dispose method.
The parent type's Dispose method should release all
resources that it owns and in turn call its parent type's
Dispose method, propagating this pattern through the
hierarchy of base types.
Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
Explain the difference between const and static read-only?
When should we use sealed class in c#?
What are the uses of namespaces?
What is a decimal in c#?
What is a byte in c#?
Explain the difference between the debug class and trace class?
Which controls do not have events?
What is written in c#?
How does yield return work c#?
What is array class in c#?
How to find out that the code is written as managed or un-managed code?
What is equal c#?
What is the difference between method overriding and method overloading?
What is type class in c#?
Is c sharp and c# are same?