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
What is an icollection in c#?
What is better C# or VB.NET?
what is a enumeration in c#
How to handle exceptions that are raised in a component?
What is the difference between static class and sealed class in c#?
What is the file extension for c#?
Can you have more than one namespace in c#?
What are jump statements in c#?
Explain how many types of exception handlers are there in .net?
Where do we use static class in c#?
What is difference between static and readonly in c#?
List down the commonly used types of exceptions in .net
what optimizations does the c# compiler perform when you use the /optimize+ compiler option?
What is a factory in c#?
What is difference between a function and a method?