GetHashCode is method of base Object class of .Net Framework.
GetHashCode is method of base Object class of .Net Framework.
A hash code is a numeric value that is used to identify an object during equality testing. It can also serve as an index for an object in a collection.
The GetHashCode method is suitable for use in hashing algorithms and data structures such as a hash table.
Important notes
- Equality of GetHashCodevalue doesn't necessarily imply equality of objects. The equality must be verified usingEquals.
- Inequality of GetHashCodenecessarily means inequality of objects.
 
     
     
     
     
     
     
     
     
     
     
     
     
    