The memory of a control can be managed by using the GarbageCollector that releases the memory stored in the Heap. Sometimes the unmanaged resources like stream reader, stream writer, DataBase connectivity, etc. when used causes further leaks in the memory of a control. To free these unmanaged resources, you can use the Dispose method.
The dispose method is available in the IDisposable interface and it is used for the controls that implement the IDisposable interface and its signature is as follows:
|Article ID:||Published Date:||Last Revised Date:||Platform:||Control:||.NET Framework:||Product Version:|