Method OCICompare
OCICompare(String, String)
Performs a case insensitive ordinal comparison of two strings, returning an integer indicating if they match, or one is less than/greater than the other.
Declaration
public static int OCICompare(this string value, string otherValue)
Parameters
| Type | Name | Description | 
|---|---|---|
| System.String | value | The first value to compare.  | 
    
| System.String | otherValue | The second value to compare.  | 
    
Returns
| Type | Description | 
|---|---|
| System.Int32 | Zero if the values are the same (ignoring case), 1 if   | 
    
Remarks
This is equivalent to calling System.String.Compare(System.String,System.String,System.StringComparison) with the System.StringComparison.OrdinalIgnoreCase value.