Skip to content
CShift0.32

IDisposable

Interface · global namespace

interface IDisposable

A resource that has to be released: using (var f = ...) { ... } calls IDisposable.Dispose at the end of the block, also when it is left early.

Name Description
Dispose Releases the resource.
void Dispose()

Releases the resource. It is called once, at the end of the using block.