How can you clean up objects holding resources from within
the code?
Answer Posted / ramesh
We can clean up object holding resources by using dispose()
method. Example
DataSet DS=new DataSet()
DS.Dispose()
Is This Answer Correct ? | 5 Yes | 1 No |
Post New Answer View All Answers
Are objects passed by reference in c#?
Is list ienumerable c#?
what is the default access for a class
what is the syntax to inherit from a class in c#?
What are the different approaches of passing parameters to a method?
What are reflections in c#?
What is the difference between and xml documentation tag?
Can we customize the serialization process?
What's new in c#?
Explain the difference between a struct and a class?
What is value c#?
What are extensions methods in c#?
What are console applications used for?
Can a abstract class have a constructor?
Why generics are used?