StringSegmentComparerGetHashCode(StringSegment) Method

When overridden in a derived class, gets the hash code for the specified StringSegment.

Definition

Namespace: KGySoft.CoreLibraries
Assembly: KGySoft.CoreLibraries (in KGySoft.CoreLibraries.dll) Version: 8.1.0
C#
public abstract int GetHashCode(
	StringSegment obj
)

Parameters

obj  StringSegment
The StringSegment to get the hash code for.

Return Value

Int32
A hash code for the StringSegment, suitable for use in hashing algorithms and data structures like a hash table.

Implements

IEqualityComparerTGetHashCode(T)

See Also