IDisposable « Class Interface « C# / C Sharp






1.The IDisposable Interface
2.Derived Disposable Classes
3.Protecting Against Double Disposal
4.The constructor initializes the internal object. The Dispose method closes the file resource. The destructor delegates to the Dispose method.
5.using statement with IDisposable interface
6.The Dispose Pattern