Click or drag to resize
Accord.NET (logo)

GeneralComparerTCompare Method

Compares two objects and returns a value indicating whether one is less than, equal to, or greater than the other.

Namespace:  Accord.Math.Comparers
Assembly:  Accord.Math (in Accord.Math.dll) Version: 3.8.0
Syntax
public int Compare(
	T x,
	T y
)
Request Example View Source

Parameters

x
Type: T
The first object to compare.
y
Type: T
The second object to compare.

Return Value

Type: Int32
See Also