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 it mean to override a method?
What does return do in unity?
In .NET how can you solve the DLL Hell problem?
What is difference between interface and abstraction?
is it possible to access a remote web service Without UDDI?
Different between method overriding and method overloading?
what is an event? Define delegate?
What is the difference between add and addrange in c#?
What does int parse do in c#?
What's your approach to fetch static data in your windows form application?
How many static constructors are allowed in a class?
Does a loop recorder have to be removed?
How do I calculate relative time?
What is the use of oops in c#?
Which are the access modifiers available in c#?