How can you clean up objects holding resources from within
the code?
Answer Posted / nagasaichand
2 PROCEDURES FORT THIS:
1)Make that value of object as null once the scope is finished.
2)use dispose(); method
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What does assert() do in c#?
Why we use extension methods in c#?
Why singleton class is sealed in c#?
What is windows application in c#?
What is an assembly in dotnet?
What are types of constructor?
What is the use of ienumerable in c#?
Why does dllimport not work for me?
What is the importance of closing an ado.net application?
Why dictionary is faster than list?
Is it true that all c# types derive from a common base class?
What is anonymous method in c#?
Can a class have static constructor?
What is arraylist c#?
Is predicate a functional interface?