Operations<T>.Compare Property

Gets a delegate that compares two values.

Definition

Namespace: Extreme.Mathematics
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
C#
public static Func<T, T, int> Compare { get; }

Property Value

Func<T, T, Int32>
A delegate that returns an integer that indicates the relative values of its arguments as shown in the following table:
ValueDescription
Less than zeroThe first argument is less than the second argument.
Less equal to zeroThe first argument is equal to the second argument.
Greater than zeroThe first argument is greater than the second argument.

See Also