BinaryStringCompareTo Method (String) |
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.IO
Assembly:
Demo3D.IO (in Demo3D.IO.dll) Version: 15.0.2.11458
Syntaxpublic int CompareTo(
string? other
)
Parameters
- other
- Type: SystemString
An string to compare with this instance.
Return Value
Type:
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