Method CompareTo
CompareTo(StringValue, in StringComparison)
Compares the current object with another object of the same type, using the specified string comparison.
public int CompareTo(StringValue other, in StringComparison stringComparison)
Parameters
other
StringValueThe object to compare with the current object.
stringComparison
StringComparisonOne of the StringComparison values that specifies the comparison rules to use.
Returns
- int
A value that indicates the relative order of the objects being compared.
- See Also