Where does the dispose method lie and how can it be used to
clean up resources?
Answer / 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 |
What are the types of assemblies in .net?
Tell us the difference between managed and unmanaged code?
What is Event Bubbling in .NET?
What is the concept of inheritance and how it works in .net?
Difference b/w dataset.clone and dataset.copy ?
What is Code group in .Net with respect to CAS
Which Namespace is used to to achieve MultiThreading in .NET?
What is different between Web User Control and Web Custom Control?
What are the contents of assembly?
Without UDDI, is it possible to access a remote web service ?
1 Answers RR, TCS, Tech Mahindra,
What's singlecall activation mode used for in .net?
Explain how viewstate is being formed and how it's stored on client in .net?