<PackageReference Include="Microsoft.Extensions.Primitives" Version="10.0.0-rc.1.25451.107" />

StringSegmentComparer

Compares two StringSegment objects.
public static StringSegmentComparer Ordinal { get; }

Gets a StringSegmentComparer object that performs a case-sensitive ordinal StringSegment comparison.

Gets a StringSegmentComparer object that performs a case-insensitive ordinal StringSegment comparison.

Compares two StringSegment objects and returns an indication of their relative sort order.

Determines whether two StringSegment objects are equal.

public int GetHashCode(StringSegment obj)

Returns a hash code for a StringSegment object.