Where does the dispose method lie and how can it be used to
clean up resources?
Answer Posted / srinivas persineti
dispose method is in IDisposable interface,when you are
writing any class in .Net u should inherit the IDisposable
interface and u should implement the Dipoase method.in
dispose method u can call teh GC.Collect() to free up the
object.along with u can aslo call GC.SuppressFinalize() to
avoid multiple callings of GC.
| Is This Answer Correct ? | 4 Yes | 0 No |
Post New Answer View All Answers
Explain me what is .net web service?
How do you view the methods and members of a dll?
What do you mean by web service?
Why SOAP is required?
What is the difference between boxing and unboxing?
can any one tel me the complete Testing Procedure of any one simple PROJECT i mean either web/windows based application?
What is boxing and un-boxing in .net?
What is .net technology?
Please explain what is heap and what is stack?
How will you load dynamic assembly? How will create assemblies at run time?
why you wouldn't want to write into it even if you could
How to load the contents of an xml file into an xmldocument object?
What is the reason of occurring overflow-underflow arithmetic exception error, it shows error message when we run our program by adding control?
What is RCW (Run time Callable Wrappers)?
What is 3 tier architecture?