StringSegmentComparerCompare(String, String) Method
When overridden in a derived class, compares two
string instances and returns an indication of their relative sort order.
Namespace: KGySoft.CoreLibrariesAssembly: KGySoft.CoreLibraries (in KGySoft.CoreLibraries.dll) Version: 10.0.0
public abstract int Compare(
string? x,
string? y
)
Public MustOverride Function Compare (
x As String,
y As String
) As Integer
public:
virtual int Compare(
String^ x,
String^ y
) abstract
abstract Compare :
x : string *
y : string -> int
- x String
- A string to compare to y.
- y String
- A string to compare to x.
Int32
A signed integer that indicates the relative order of
x and
y.
IComparerTCompare(T, T)