AlphanumComparatorCompare Method

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

Definition

Namespace: Configuration.Helper
Assembly: Configuration.Helper (in Configuration.Helper.dll) Version: 2.0.5
C#
public int Compare(
	Object? x,
	Object? y
)

Parameters

x  Object
The first object to compare.
y  Object
The second object to compare.

Return Value

Int32
A signed integer that indicates the relative values of x and y: - If less than 0, x is less than y. - If 0, x equals y. - If greater than 0, x is greater than y.

Implements

IComparerCompare(Object, Object)

See Also