[This is preliminary documentation and is subject to change.]
Helper function that performs case-insensitive comparison between strings using invariant comparison.
Either lhs and rhs can be null.
Use this in conjunction with GetHashCodeIgnoreCase
Namespace: NFXAssembly: NFX (in NFX.dll) Version: 3.0.0.1 (3.0.0.1)
public static bool EqualsIgnoreCase(
this string lhs,
string rhs
)
public static bool EqualsIgnoreCase(
this string lhs,
string rhs
)
<ExtensionAttribute>
Public Shared Function EqualsIgnoreCase (
lhs As String,
rhs As String
) As Boolean
<ExtensionAttribute>
Public Shared Function EqualsIgnoreCase (
lhs As String,
rhs As String
) As Boolean
public:
[ExtensionAttribute]
static bool EqualsIgnoreCase(
String^ lhs,
String^ rhs
)
public:
[ExtensionAttribute]
static bool EqualsIgnoreCase(
String^ lhs,
String^ rhs
)
static member EqualsIgnoreCase :
lhs : string *
rhs : string -> bool
static member EqualsIgnoreCase :
lhs : string *
rhs : string -> bool
Return Value
Type:
BooleanUsage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
String. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).