BinaryStringCompareTo(String) Method |
Compares the current instance with another string and returns an integer that indicates whether
the current instance precedes, follows, or occurs in the same position in alphabetical order.
Namespace: Demo3D.IOAssembly: Demo3D.IO (in Demo3D.IO.dll) Version: 19.01.00
Syntaxpublic int CompareTo(
string? other
)
Parameters
- other String
- An string to compare with this instance.
Return Value
Int32
A value that indicates the relative order of the strings being compared. The return value has
these meanings:
Less than zero: This instance precedes
other in the sort order.
Zero: This instance occurs in the same position in the sort order as
other.
Greater than zero: This instance follows
other in the sort order.
Implements
IComparableTCompareTo(T)
See Also