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
How a two-dimensional array declared in C#?
What is a singleton unity?
What is the difference between var and dynamic types in c# 4.0?
What are the classes contained in a single .NET DLL ?
How do I count the length of a string in c#?
What are floating point numbers?
What are the types of constructors?
Is xamarin free?
What is the compiler of c#?
what is c# command?
Are c# objects passed by reference?
What does typeof return c#?
Is constructor a static method?
What is difference between overloading and short circuiting?
What is generic collection in c#?