CaseInsensitiveComparer

E697491

CaseInsensitiveComparer is a .NET framework utility class that provides culture-aware, case-insensitive comparison logic for sorting and comparing objects, typically strings.

All labels observed (1)

Label Occurrences
CaseInsensitiveComparer canonical 2

How this entity was disambiguated

Statements (41)

Predicate Object
instanceOf .NET Framework class ⓘ
System.Collections.IComparer implementation ⓘ
class ⓘ
category string comparison utility ⓘ
CLSCompliant true ⓘ
comparesType System.Object ⓘ
System.String ⓘ
comparisonBehavior ignores character case when comparing strings ⓘ
performs lexical ordering for strings ⓘ
uses culture-specific casing rules ⓘ
defaultComparisonType culture-sensitive, case-insensitive ⓘ
definedInAssembly mscorlib ⓘ
linked to: mscorlib.dll
definedInLanguage C# ⓘ
definedInNamespace System.Collections ⓘ
designNote older API superseded by StringComparer in many scenarios ⓘ
hasConstructor CaseInsensitiveComparer() ⓘ
CaseInsensitiveComparer(System.Globalization.CultureInfo) ⓘ
hasMethod Compare(Object, Object) ⓘ
hasStaticProperty Default ⓘ
DefaultInvariant ⓘ
implementsInterface System.Collections.IComparer ⓘ
introducedIn .NET Framework 1.0 ⓘ
linked to: .NET Framework
invariantComparisonType culture-insensitive, case-insensitive ⓘ
platform .NET Core (via compatibility shims in some versions) ⓘ
linked to: .NET Core

.NET Framework ⓘ
primaryPurpose provide case-insensitive comparison logic ⓘ
relatedTo CaseInsensitiveHashCodeProvider ⓘ
StringComparer ⓘ
returnsFromCompare negative value if first is less than second ⓘ
positive value if first is greater than second ⓘ
zero if first equals second ⓘ
serialization marked as serializable in .NET Framework ⓘ
supportsFeature case-insensitive string comparison ⓘ
culture-aware comparison ⓘ
threadSafety Default property is thread-safe for read access ⓘ
usedFor performing case-insensitive lookups ⓘ
sorting collections in a case-insensitive manner ⓘ
usedWith Array.Sort ⓘ
SortedList ⓘ
usesCulture CurrentCulture (via Default) ⓘ
InvariantCulture (via DefaultInvariant) ⓘ

How these facts were elicited

Referenced by (2)

Full triples — surface form annotated when it differs from this entity's canonical label.

System.Collections → containsType → CaseInsensitiveComparer ⓘ
CaseInsensitiveHashCodeProvider → relatedTo → CaseInsensitiveComparer ⓘ