April 2018
Intermediate to advanced
300 pages
7h 41m
English
IDisposable is a simple interface that contains one Dispose method, takes no parameter, and returns void:
public interface IDisposable
{
void Dispose();
}
It is used to release unmanaged resources. So if any class implements the IDisposable interface, it means that the class contains unmanaged resources and these have to be released by calling the Dispose method of the class.
Read now
Unlock full access