Range.Equality Operator
Returns whether two instances
of Range are equal.
Definition
Namespace: Numerics.NET
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4
C#
true if range1 and range2 specify the same range; otherwise false.
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4
public static bool operator ==(
Range range1,
Range range2
)
Parameters
Return Value
Booleantrue if range1 and range2 specify the same range; 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.