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 are types of constructor?
How does yield return work c#?
What is strong data type in c#?
Differentiate between the public and private ?
What is the use of the dispose method in C# ?
What is use of singleton class in c#?
Define property in c#.net?
What is the difference between continue and break statement?
What does protected internal access modifier mean?
What is default method in c#?
How can I process command-line arguments?
What is dataview c#?
What is the difference between int.parse and int.tryparse methods?
How do you sort a list in c#?
Is c# a backend language?