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
Explain the mechanism of VB.NET/C# achieve polymorphism?
What is default access modifier for class in c#?
What are escape sequences explain with example?
What is the difference between firstordefault and first?
Explain About stateless and state full web service
What is hashtable in c# net with example?
Explane each and every methods of nterface Queue? Explain About performance issues on retrieving records
What is different between Static Constructor and Private Constructor?
Which are the access modifiers available in c#?
Why we use methods in c#?
Can we inherit sealed class in c#?
what is an event? Define delegate?
Explain the difference between class and interface in .net?
What is single dimensional array in c#?
What is the implicit name and type of the parameter that gets passed into the class set method?