ComparisonWrapperTCompare Method |
Compares two instance and returns a value indicating whether one is less than,
equal to, or greater than the other.
For more detail see the below table.
-----------------------------------------
Value | Meaning |
-----------------------------------------
Less than zero | x is less than y. |
Zero | x equals y |
Greater than zero | x is greater than y |
-----------------------------------------
Namespace: Bio.UtilAssembly: Bio.Core (in Bio.Core.dll) Version: 2.0.0.1 (2.0.0.1)
Syntax public int Compare(
T x,
T y
)
Public Function Compare (
x As T,
y As T
) As Integer
public:
virtual int Compare(
T x,
T y
) sealed
abstract Compare :
x : 'T *
y : 'T -> int
override Compare :
x : 'T *
y : 'T -> int
Parameters
- x
- Type: T
The first instance to compare - y
- Type: T
The second instance to compare
Return Value
Type:
Int32[Missing <returns> documentation for "M:Bio.Util.ComparisonWrapper`1.Compare(`0,`0)"]
Implements
IComparerTCompare(T, T)See Also