Dispose Method Dispose() C# public void Dispose() Dispose(Boolean) C# protected virtual void Dispose(bool disposing) Parameters Type Name Description System.Boolean disposing