StringSegment.CompareOrdinal method

Compares two string segments ordinally.

public static int CompareOrdinal(StringSegment segmentA, StringSegment segmentB)
parameter description
segmentA The first segment.
segmentB The second segment.

Return Value

Zero, a positive integer, or a negative integer, if the first segment is equal to, greater than, or less than the second segment, respectively.

See Also