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
Explain how can I get around scope problems in a try/catch?
List down the reason behind the usage of c# language.
What is the different types of private assembly and shared assembly?
Why do we use interface in c#?
What is the use of dll file in c#?
Does c# support c type macros?
Explain the difference between object type and dynamic type variables in c#?
What is gui in c#?
In gridview in editmode if we want to display information in one combobox based on
How main method is called in c#?
What do you mean by string objects are immutable?
What is ienumerable and iqueryable?
Explain “static” keyword in c#?
What is scaffolding in c#?
Is string nullable c#?