CapyKit/Documentation/Help/M_CapyKit_PropertyComparer_2_GetHashCode.md
2024-09-04 19:31:43 -05:00

1.5 KiB

GetHashCode(T) Method

Returns a hash code for the specified object.

Definition

Namespace: CapyKit
Assembly: CapyKit (in CapyKit.dll) Version: 1.0.2

C#

public int GetHashCode(
	T obj
)

F#

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

Parameters

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

Return Value

Int32
A hash code for the specified object.

Implements

IEqualityComparer(T).GetHashCode(T)

Exceptions

ArgumentNullException The type of obj is a reference type and obj is null.

See Also

Reference

PropertyComparer(T, U) Class
GetHashCode Overload
CapyKit Namespace