METHOD
IDisposable.Dispose()
Performs application-defined cleanup of owned resources according to the type contract.
Formal Syntax & Structure
csharp syntaxcsharp
void Dispose()Working Example
Example Snippetcsharp
public void Dispose() => Console.WriteLine("Dispose");