IDisposable
Interface · global namespace
interface IDisposableA resource that has to be released: using (var f = ...) { ... } calls IDisposable.Dispose at the end of the
block, also when it is left early.
Methods
Section titled “Methods”| Name | Description |
|---|---|
Dispose |
Releases the resource. |
Dispose
Section titled “Dispose”void Dispose()Releases the resource. It is called once, at the end of the using block.