Skip to content

M_CodeJam_Collections_KeyEqualityComparer_2_GetHashCode

Andrew Koryavchenko edited this page Jun 17, 2018 · 5 revisions

KeyEqualityComparer(T, TKey).GetHashCode Method (T)

Returns a hash code for the specified object.

Namespace: CodeJam.Collections
Assembly: CodeJam (in CodeJam.dll) Version: 2.1.0.0

Syntax

C#

public int GetHashCode(
	T obj
)

VB

Public Function GetHashCode ( 
	obj As T
) As Integer

F#

abstract GetHashCode : 
        obj : 'T -> int 
override GetHashCode : 
        obj : 'T -> int 

Parameters

 

obj
Type: T
The Object for which a hash code is to be returned.

Return Value

Type: Int32
A hash code for the specified object.

Implements

IEqualityComparer(T).GetHashCode(T)

See Also

Reference

KeyEqualityComparer(T, TKey) Class
GetHashCode Overload
CodeJam.Collections Namespace

Clone this wiki locally