Click or drag to resize
Accord.NET (logo)

GeneralComparerCompare Method (Int32, Int32)

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(
	int x,
	int y
)
Request Example View Source

Parameters

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

Return Value

Type: Int32
See Also