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
Why generics are used in c#?
Please explain the basic string operations used in c#?
Why do we use generics in c#?
What is difference between C# and VB.NET?
If the interface in c# only contains the declaration of the methods and we need to define those methods in the class, then why we use the interface?
what is IComparable
Why do we still see so much non-oo code written in c# today?
Why to use “using” in c#?
What is the use of table aliases?
Why we need get set property in c#?
What is the difference between an integer and int?
What is the wildcard character in sql?
What is multithreading? What are the problems that comes with multithreading and how to manage them?
What is wcf c#?
What does f mean in c#?