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 |
How to write an MMC snap-in for my Windows service?
What is smart navigation?
What is equivalent for regsvr32 exe in .net ?
Explain what is the difference between constants and read-only variables?
Explain about the features and elements present in Visual studio.NET IDE?
What property do you have to set to tell the grid which page to go to when using the Pager object?
Explain what is a manifest in .net?
What is exception handling?
What makes .net core cross platform?
In Mvc Architecure what is view?
What is the difference between constants and read-only variables?
Explain memory-mapped files.