Method Compare
Compare(string, string)
Compares two objects and returns a value indicating whether one is less than, equal to, or greater than the other.
Declaration
public int Compare(string x, string y)
Parameters
Type | Name | Description |
---|---|---|
string | x | The first object to compare. |
string | y | The second object to compare. |
Returns
Type | Description |
---|---|
int | A signed integer that indicates the relative values of |