Click or drag to resize

UtilHashCombine Method (Int32, Int32)

Utility function to combine together multiple hash codes (GetHashCode)

Namespace:  Demo3D.Common
Assembly:  Demo3D.Common (in Demo3D.Common.dll) Version: 11.0.0.7658
Syntax
C#
public static int HashCombine(
	ref int hash,
	params int[] additionalHashes
)

Parameters

hash
Type: SystemInt32
First hash code (passed by reference)
additionalHashes
Type: SystemInt32
Additional hash codes (passed by a "params" array of values)

Return Value

Type: Int32
Combined hash code (the first hash code has also been changed)
See Also