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 c# an open source?
What is a function c#?
What is difference between a function and a method?
Can a loop recorder detect a heart attack?
Explain the difference between directcast and ctype.
How long does it take to get a loop recorder put in?
What is the purpose of dependency injection?
What is xpath in c#?
What is yield in c#?
Describe the overview of clr integration.
How can I get around scope problems in a try/catch?
Are structs value types c#?
Why do we use readonly in c#?
What do you mean by hashtable c#?
Are c# strings null terminated?