Compares the current object with another object of the same type.
public int CompareTo(StringSegment other)
parameter | description |
---|---|
other | An object to compare with this object. |
Zero, a positive integer, or a negative integer, if the first segment is equal to, greater than, or less than the second segment, respectively.