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
What is difference between web and window application?
What do you mean by thread safe in c#?
What is the difference between abstract and virtual?
What you mean by delegate in c#?
What is a delegate? How can it works?
What is difference between static and readonly in c#?
How can we make a thread sleep for infinite period ?
What is difference between private and protected?
Is versioning applicable to private assemblies?
Why do we need ienumerable in c#?
Can constructor be protected in c#?
So what makes your code really object-oriented #?
Explain about c# language.
Can we inherit a class with private constructor in c#?
What is the use of GC.KeepAlive Method?