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
What is datacontract in c#?
Explain the role of the datareader class in ado.net connections?
Which is faster array or arraylist in c#?
what is collections in .net? why we use?
what is full assembly reference
What is windows application in c#?
Can you pass parameters to destructors?
Explain About .Net remoting
What is xml comments in c#?
Can we use "this" command within a static method?
How does yield return work c#?
Can class inherit from struct c#?
My switch statement works differently! Why?
List the 5 different access modifiers in c#?
Explain About delegates