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