interface IHashCodeProvider

in global :: System . Collections

Supplies a hash code for an object, using a custom hash function.


public int GetHashCode( object obj )

Returns a hash code for the specified object.

  • obj The for which a hash code is to be returned.
  • Returns A hash code for the specified object.