Click or drag to resize

LoadCaseIdComparerCompare Method

compares two strings. Orders them that identifiers which are equivalent to integers come first and are sorted numerically in ascending order. Then the other identifiers come in alphanumerically ascending order.

Namespace:  Karamba.Loads.Combinations
Assembly:  KarambaCommon (in KarambaCommon.dll) Version: 2.2.0.4 (2.2.0.4)
Syntax
public int Compare(
	string a,
	string b
)

Parameters

a
Type: SystemString
first string to compare.
b
Type: SystemString
second string to compare.

Return Value

Type: Int32
1 if a comes first, otherwise -1.

Implements

IComparerTCompare(T, T)
See Also