How can you clean up objects holding resources from within
the code?
Answer Posted / tarun singla
Easiest way is to make the value of that object as null,
once the scope of that object is over. We generally do this
in the 'finally' section of the code.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What are custom exceptions? Why do we need them?
What is disco?
What is datarelation c#?
What is a static class in c#?
What is difference between singleton and static class in c#?
What is the difference between finalize() and dispose()?
Why interface is required?
What is the difference between overriding and overloading in systemverilog?
How can you use abstract class and interface?
What is managed or unmanaged code?
What is different about switch statements in c#?
What are the different types of assemblies available and their purpose?
What is the difference between serialization and deserialization in c#?
Can you describe iuknown interface in short?
What is sealed class in c#?