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 |
Explain different types of html, web and server controls.
Will my .net app run on 64-bit windows?
What is boxing in .NET?
Can you configure a .NET Remoting object via XML file?
Explain what are an object and a class?
What is cyclomatic complexity and why is it important?
How to implement CAS in .Net?
What versions of .net are there?
What is lambda expressions in c#?
How many languages .NET is supporting now?
38 Answers Dreamtech, IBS, Microsoft, Polaris, RDT, Softcon, Viscus Infotech,
What is Method Overriding? How to override a function in C#?
What is strong-typing versus weak-typing? Which is preferred?