Enum
StringComparison
enum StringComparison
Module: System
Assembly: System.Runtime.dll
Source file: StringComparison.rvn
Inheritance: Object → ValueType → Enum → StringComparison
Explicit, locale-independent string comparison policies.
Constants
3 items
Static member:
Canonical: StringComparison
Unicode 17 canonical equivalence and NFD scalar ordering; case-sensitive.
Static member:
Ordinal: StringComparison
Exact UTF-8 byte ordering, equivalent to Unicode scalar ordering.
Static member:
OrdinalIgnoreCase: StringComparison
Unicode 17 default simple case folding followed by scalar ordering.
Fields
1 item
value__: int
No summary available.
Methods
4 items
Equals(other: object?) -> bool
Tests reference identity by default; an ordinary class may override equality.
Inherited from Object.Equals
GetHashCode() -> int
Returns a stable identity hash by default; an ordinary class may override it consistently with equality.
Inherited from Object.GetHashCode
GetType() -> TypeInfo
Returns metadata for the concrete runtime type of this instance.
Inherited from Object.GetType
ToString() -> string
Returns the concrete runtime type name for supported references, or display text from a class or boxed-struct override.
Inherited from Object.ToString