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 array formula?
What are the different types of literals in c#?
Explain the steps to create satellite assembly?
What is unmannaged code and will CLR handle this kind of code or not .
What do you mean by object pooling?
Why do we use dataset in c#?
Can you pass parameters to destructors?
What is wcf c#?
Explain how do I convert a string to an int in c#?
What is anonymous types in c#?
What is a singleton unity?
If you want to convert a base type to a derived type, what type of conversion do you use?
How do you access a constant field declared in a class?
Explain use of abstract and sealed classes in c#?
What is xaml file in c#?