Table of Contents

Class HashCodeHelpers

Namespace
Garyon.Functions
Assembly
Garyon.dll

Provides helper functions for the HashCode struct.

public static class HashCodeHelpers
Inheritance
HashCodeHelpers
Inherited Members

Methods

Combine<T>(IEnumerable<T>)

Generates a hash code produced by the combination of the hash code of each individual element in the provided collection.

public static HashCode Combine<T>(IEnumerable<T> elements)

Parameters

elements IEnumerable<T>

The elements whose hash codes to combine into the resulting hash code.

Returns

HashCode

The HashCode that contains the elements that were hashed and had their hash codes combined.

Type Parameters

T

The type of the elements in the collection.