Method DisposeDispose()Disposes the current object. Declaration public void Dispose() ImplementsIDisposable.Dispose()