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 can you sort strings in array that are passed to method as arguments?
In which situation(s), the use of "Delegate" is a good idea?
What is the difference between function and method in c#?
What is difference between property and variable in c#?
Is c and c# the same?
Explain the importance and use of each, version, culture and publickeytoken for an assembly.
What is the use of ienumerable in c#?
How many types of polymorphism are there?
Explain the clr triggers?
What is a byte in c#?
What is the difference between static class and singleton class in c#?
List some of the basic string operation?
Differentiate between method overriding from method overloading with its functionality?
Can a struct have a default constructor (a constructor without parameters) or a destructor in c#?
What is difference between yielding and sleeping?