Inequality Operator

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Indicates whether two TimeSpan instances are not equal.

Namespace:  System
Assembly:  mscorlib (in mscorlib.dll)

public static bool operator !=(
	TimeSpan t1,
	TimeSpan t2
)

Parameters

t1
Type: System..::..TimeSpan
The first time interval to compare.
t2
Type: System..::..TimeSpan
The second time interval to compare.

Return Value

Type: System..::..Boolean
true if the values of t1 and t2 are not equal; otherwise, false.

Show: