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 is jit compilers?
What are the different types of Classes in .NET?
What are the differences between an interface and an abstract class in .net?
What is .net standard?
How will you register com+ services?
What does the "EnableViewState" property do?
Integer & struct are value types or reference types in .NET?
What is Flyout Design Pattern in .NET?
0 Answers Petranics Solutions,
What is "common language specification" (cls) in .net?
What is the managed and unmanaged code in .net?
Can I write my own .net host?
what are connection strings?