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 private in c#?
what is scope of a protected internal member variable of a c# class
Can struct have constructor c#?
Explain the three services model (three-tier application). Presentation (ui), business (logic and underlying code) and data (from storage or other sources).
What is difference between an reference type and value type in C#?
What do you mean by stack and heap in c#?
how dot net compiled code will become platform independent?
What do you mean by for each loop?
Do events have return type c#?
What is .cs file in c#?
What is for loop in c#?
Explanation on Generic?
Explain the difference between .net and c#?
What is Private Constructor? and it’s use? Can you create instance of a class which has Private Constructor?
What is the difference between protected and private?