Method OCIEquals
OCIEquals(String, String)
Performs an "ordinal" and case insensitive comparison of two strings, returning a boolean indicating if they match.
Declaration
public static bool OCIEquals(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.Boolean |
|
Remarks
This is equivalent to calling System.String.Equals(System.String,System.String,System.StringComparison) with the System.StringComparison.OrdinalIgnoreCase value.