Delen via


CaseInsensitiveComparison.Equals Method

Definition

Overloads

Equals(ReadOnlySpan<Char>, ReadOnlySpan<Char>)

Determines if two strings are equal according to Unicode rules for case-insensitive identifier comparison (lower-case mapping).

Equals(String, String)

Determines if two strings are equal according to Unicode rules for case-insensitive identifier comparison (lower-case mapping).

Equals(ReadOnlySpan<Char>, ReadOnlySpan<Char>)

Source:
CaseInsensitiveComparison.cs
Source:
CaseInsensitiveComparison.cs
Source:
CaseInsensitiveComparison.cs
Source:
CaseInsensitiveComparison.cs
Source:
CaseInsensitiveComparison.cs
Source:
CaseInsensitiveComparison.cs
Source:
CaseInsensitiveComparison.cs
Source:
CaseInsensitiveComparison.cs
Source:
CaseInsensitiveComparison.cs
Source:
CaseInsensitiveComparison.cs
Source:
CaseInsensitiveComparison.cs
Source:
CaseInsensitiveComparison.cs
Source:
CaseInsensitiveComparison.cs

Determines if two strings are equal according to Unicode rules for case-insensitive identifier comparison (lower-case mapping).

public static bool Equals (ReadOnlySpan<char> left, ReadOnlySpan<char> right);
static member Equals : ReadOnlySpan<char> * ReadOnlySpan<char> -> bool
Public Shared Function Equals (left As ReadOnlySpan(Of Char), right As ReadOnlySpan(Of Char)) As Boolean

Parameters

left
ReadOnlySpan<Char>

First identifier to compare

right
ReadOnlySpan<Char>

Second identifier to compare

Returns

true if the identifiers should be considered the same.

Remarks

These are also the rules used for VB identifier comparison.

Applies to

Equals(String, String)

Source:
CaseInsensitiveComparison.cs
Source:
CaseInsensitiveComparison.cs
Source:
CaseInsensitiveComparison.cs
Source:
CaseInsensitiveComparison.cs
Source:
CaseInsensitiveComparison.cs
Source:
CaseInsensitiveComparison.cs
Source:
CaseInsensitiveComparison.cs
Source:
CaseInsensitiveComparison.cs
Source:
CaseInsensitiveComparison.cs
Source:
CaseInsensitiveComparison.cs
Source:
CaseInsensitiveComparison.cs
Source:
CaseInsensitiveComparison.cs
Source:
CaseInsensitiveComparison.cs
Source:
CaseInsensitiveComparison.cs
Source:
CaseInsensitiveComparison.cs
Source:
CaseInsensitiveComparison.cs
Source:
CaseInsensitiveComparison.cs
Source:
CaseInsensitiveComparison.cs
Source:
CaseInsensitiveComparison.cs
Source:
CaseInsensitiveComparison.cs
Source:
CaseInsensitiveComparison.cs
Source:
CaseInsensitiveComparison.cs
Source:
CaseInsensitiveComparison.cs

Determines if two strings are equal according to Unicode rules for case-insensitive identifier comparison (lower-case mapping).

public:
 static bool Equals(System::String ^ left, System::String ^ right);
public static bool Equals (string left, string right);
static member Equals : string * string -> bool
Public Shared Function Equals (left As String, right As String) As Boolean

Parameters

left
String

First identifier to compare

right
String

Second identifier to compare

Returns

true if the identifiers should be considered the same.

Remarks

These are also the rules used for VB identifier comparison.

Applies to