Click or drag to resize

UtilHashCombine Method (Int32, Int32)

Utility function to combine together two 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,
	int additionalHash
)

Parameters

hash
Type: SystemInt32
First hash code (passed by reference)
additionalHash
Type: SystemInt32
Second hash code (passed by value)

Return Value

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