Click or drag to resize

DisposableDispose Method

If the specified object implements IDisposable, it will be disposed, else nothing is done.

Namespace:  TomsToolbox.Essentials
Assembly:  TomsToolbox.Essentials (in TomsToolbox.Essentials.dll)
Syntax
public static bool Dispose(
	Object? item
)

Parameters

item
Type: SystemObject
The object to dispose.

Return Value

Type: Boolean
true if the object has been disposed.
See Also