How can you clean up objects holding resources from within
the code?
Answer Posted / mohan kumar e.
We can cleanup objects by implementing IDisposable
interface and providing the implementation for Dispose
method.
| Is This Answer Correct ? | 3 Yes | 1 No |
Post New Answer View All Answers
How does foreach loop work in c#?
How to add a readonly property in c#.net
What's the difference between system.string and system.text.stringbuilder classes?
What is string programming language?
What are All kind of access specifiers for a class and for methods
What are interfaces in c#?
Name the control which cannot be placed in mdi?
What is the main method?
What is dataset and dataadapter in c#?
What are the commonly used i/o classes?
hi my question is about understanding a text the user entered to a site , so i want to analyse that text looking for some specific items such as "honda" "shoffere" etc.. so if this site could help or could tell me where to go with such question ,i wonder. thanks
Can hashset contain duplicates c#?
What is escape sequence in c#?
What is the difference between wrapper class and primitive?
in object oriented programming, how would you describe encapsulation?