Range.Inequality Operator

Returns whether two instances of Range are different.

Definition

Namespace: Numerics.NET
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.0
C#
public static bool operator !=(
	Range range1,
	Range range2
)

Parameters

range1  Range
A Range.
range2  Range
A Range.

Return Value

Boolean
true if range1 and range2 specify different ranges; otherwise false.

Remarks

Two ranges are equal if they are both equal to All, or if their StartIndex, EndIndex, and Stride properties are the same.

See Also