StringSegmentComparerOrdinalIgnoreCaseNonRandomized Property

Gets a StringSegmentComparer object that performs a case-insensitive ordinal string comparison. The returned comparer is functionally equivalent with OrdinalIgnoreCase but it ensures that the hash code of a specific string is stable only within the same process and AppDomain.

Definition

Namespace: KGySoft.CoreLibraries
Assembly: KGySoft.CoreLibraries (in KGySoft.CoreLibraries.dll) Version: 9.0.0
C#
public static StringSegmentComparer OrdinalIgnoreCaseNonRandomized { get; }

Property Value

StringSegmentComparer

Remarks

  Security Note

Never use this comparer for a collection that can be populated by a publicly available service because it can be a target of hash collision attacks, which may radically degrade the performance.

See Also