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
Is c# static or dynamic?
What is local function?
Name any three ways to pass parameters to a method in c#?
Is Facebook a desktop application?
How long does a loop recorder procedure take?
Define satellite assembly in c#?
what is full assembly reference
Explain the features of an abstract class in net.
Why do we use lambda expression in c#?
What is default value of bool in c#?
What are circular references? How garbage collection deals with circular references.
Can an abstract class inherit from another abstract class c#?
Explain the top reason to use c# language?
What is use of private class in c#?
What is the difference between finalize() and dispose() methods?