|
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)
Syntaxpublic int Compare(
string a,
string b
)
Public Function Compare (
a As String,
b As String
) As Integer
public:
virtual int Compare(
String^ a,
String^ b
) sealed
abstract Compare :
a : string *
b : string -> int
override Compare :
a : string *
b : string -> int
Parameters
- a
- Type: SystemString
first string to compare. - b
- Type: SystemString
second string to compare.
Return Value
Type:
Int321 if a comes first, otherwise -1.
Implements
IComparerTCompare(T, T)
See Also