StringSegmentComparerCompare(Object, Object) Method

When overridden in a derived class, compares two objects and returns an indication of their relative sort order.

Definition

Namespace: KGySoft.CoreLibraries
Assembly: KGySoft.CoreLibraries (in KGySoft.CoreLibraries.dll) Version: 8.0.0
C#
public int Compare(
	Object? x,
	Object? y
)

Parameters

x  Object
An object to compare to y.
y  Object
An object to compare to x.

Return Value

Int32
A signed integer that indicates the relative order of x and y.

Implements

IComparerCompare(Object, Object)

See Also