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 is difference between dll and exe in c#?
What is the relationship between a process, application domain, and application?
What are events in C#?
What is difference between struct and class in c#?
Is functional interface runnable?
Why would you use a class property in c#?
What's the c# syntax to catch any possible exception?
How are Windows programs different from normal C-programs?
What standard types does c# use?
Why is static constructor called first?
What is datatable and dataset in c#?
How many kinds of elements an array can have?
Why to use “using” in c#?
What are c# i/o classes?
Explain About CLS?