Returns a hash code for the specified object.
Namespace:
MbUnit.FrameworkAssembly: MbUnit (in MbUnit.dll) Version: 3.3.0.0 (3.3.610.0)
Syntax
| C# |
|---|
public int GetHashCode( T obj ) |
| Visual Basic (Declaration) |
|---|
Public Function GetHashCode ( _ obj As T _ ) As Integer |
Parameters
- obj
- Type: T
The object for which a hash code is to be returned.
Return Value
A hash code for the specified object.Implements
IEqualityComparer<(Of <(T>)>)..::.GetHashCode(T)
Exceptions
| Exception | Condition |
|---|---|
| System..::.ArgumentNullException | The type of obj is a reference type and obj is null. |
