Where does the dispose method lie and how can it be used to
clean up resources?
Answer Posted / mohan kumar e.
The dispose method is available in System.IDisposable
interface.If you want to provide cleanup mechanism then
implement this interface and provide the definition for
dispose() method.
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
Is struct object oriented?
Is and as in c#?
Which compiler switch creates an xml file from xml comments in the files in an assembly?
How do I stop my console from closing in c#?
What is the default modifier for class in c#?
Why objects are stored in heap in c#?
How do you pass reference parameters in c#?
What is use of hashtable in c#?
What is action in c# 3.5?
Explain the feature of c# language?
Define c# i/o classes?
What is _viewstart cshtml?
Explain how to parse a datetime string?
What are different types of Delegates in C#?
What is the difference between ienumerable and enumerable?