TimeSpan.Inequality Operator (TimeSpan, TimeSpan)

 
equivalentCodeEntityM:System.TimeSpan.Compare(System.TimeSpan,System.TimeSpan)

Indicates whether two TimeSpan instances are not equal.

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

static let inline (<>)
        t1:TimeSpan *
        t2:TimeSpan : bool

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.

The following example compares several TimeSpan objects to a reference TimeSpan using the Inequality operator.

No code example is currently available or this language may not be supported.

Universal Windows Platform
Available since 8
.NET Framework
Available since 1.1
Portable Class Library
Supported in: portable .NET platforms
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Windows Phone
Available since 8.1
Return to top
Show: