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
Describe two uses of the “using” statement during the operation of c#?
Can we inherit abstract class in c#?
Explain the difference between directcast and ctype.
What is singleordefault?
Why we use get and set method in c#?
What is use of FormBoarderStyle Propertie
Can an exception be thrown from a catch block?
What is instantiating a class?
What is overloading in c#?
Which is better python or c#?
What does immutable mean in c#?
Is c# lazy thread safe?
Is a decimal an integer?
Distinguish between continue and break statement?
what is the difference between a struct and a class in c#?