Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ CompareOrdinal() [3/3]

static int System.String.CompareOrdinal ( string? strA,
string? strB )
inlinestatic

Definition at line 366 of file String.cs.

367 {
368 if ((object)strA == strB)
369 {
370 return 0;
371 }
372 if ((object)strA == null)
373 {
374 return -1;
375 }
376 if ((object)strB == null)
377 {
378 return 1;
379 }
380 if (strA._firstChar != strB._firstChar)
381 {
382 return strA._firstChar - strB._firstChar;
383 }
385 }
static int CompareOrdinalHelper(string strA, int indexA, int countA, string strB, int indexB, int countB)
Definition String.cs:116

References System.String.CompareOrdinalHelper().