StringSegmentComparerCompare(String, String) Method

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

Definition

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

Parameters

x  String
A string to compare to y.
y  String
A string to compare to x.

Return Value

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

Implements

IComparerTCompare(T, T)

See Also