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 are the differences between static, public and void in c#?
Explain what is copy constructor?
how dot net compiled code will become platform independent?
What is integer c#?
What are the basic string operations? Explain.
Can interface have virtual methods in c#?
Why are dynamic link library used over static one?
What is ioc containers c#?
What is the difference between Java and .NET garbage collectors?
write program in c# using this instructions name avinash varma ,work experiance<2,nochildren his work experiance is higher than 5 years,more than one children one children name is diwakar,number of years of work eperiance at current company is the ratio of children and work experiance is 0.21 to 0.5
What are the different types of constructors in c#?
What is difference between string and string builder?
What is the use of static members with example using c#.net.
What is the difference between a function and a method?
Is ram a heap?