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 typeof undefined?
What are the extension methods in c#?
Who benefits from ajax?
What does the keyword “virtual†declare for a method or property?
What is a strong name in c#?
Why to use lock statement in c#?
What are jump statements in c#?
What is immutable in C#?
Why do we use void in c#?
List the 5 different access modifiers in c#?
Explain the ways to deploy an assembly?
What is the use of delegate?
Is c# code is unmanaged or managed code?
Is c# a backend language?
What is unrecognized escape sequence in c#?