HashCode.Combine
Static Method in HashCode
Declaration
public static int Combine(int hash1, int hash2)
Description
Combines two hash codes into one unique hash.
Parameters
hash1 | The first hash. |
hash2 | The second hash. |
Returns
int | The combined hash code. |
Overload
Declaration
public static int Combine(int hash1, int hash2, int hash3)
Description
Combines three hash codes into one unique hash.
Parameters
hash1 | The first hash. |
hash2 | The second hash. |
hash3 | The third hash. |
Returns
int | The combined hash code. |
Overload
Declaration
public static int Combine(int hash1, int hash2, int hash3, int hash4)
Description
Combines four hash codes into one unique hash.
Parameters
hash1 | The first hash. |
hash2 | The second hash. |
hash3 | The third hash. |
hash4 | The fourth hash. |
Returns
int | The combined hash code. |