Click or drag to resize

HashCodeCombine Method (Int32, Int32, Int32, Int32, Int32)

Combines five hash codes.

Namespace:  AGI.Foundation.Infrastructure
Assembly:  AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 21.2.409.0 (21.2.409.0)
Syntax
public static int Combine(
	int hash1,
	int hash2,
	int hash3,
	int hash4,
	int hash5
)

Parameters

hash1
Type: SystemInt32
The first hash code.
hash2
Type: SystemInt32
The second hash code.
hash3
Type: SystemInt32
The third hash code.
hash4
Type: SystemInt32
The fourth hash code.
hash5
Type: SystemInt32
The fifth hash code.

Return Value

Type: Int32
The combined hash code.
Remarks
This method is based on the MurmurHash3 algorithm.
See Also