Compares two specified NullableString structures.
A 32-bit signed integer indicating the lexical relationship between the two comparands.
|A negative integer||a is less than b.|
|Zero||a is equal to b.|
|A positive integer||a is greater than b.
-or-b is Null.
By definition, any NullableString, including the Empty string, compares greater than a Null; and two Null compare equal to each other. This method performs a case-sensitive operation. The method uses the current culture to determine the ordering of individual characters. Uppercase letters evaluate greater than their lowercase equivalents. The two strings are compared on a character-by-character basis.