Compares two specified NullableString structures without considering the local national language or culture.
A 32-bit signed integer indicating the lexical relationship between the two comparands.
Value | Description |
---|---|
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.
NullableString Class | NullableTypes Namespace | NullableString.CompareOrdinal Overload List