A hash code for the current object, suitable for use in hashing algorithms and data structures like a hash table.
Remarks
This method overrides GetHashCode. The hash code is computed using the object’s Id and Name properties. The unchecked context allows overflow, which is acceptable in a hash code calculation context.