Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

override GetHashCode

public override int GetHashCode()
    {
        var hashcode = Id.GetHashCode();
        hashCode ^= Name.GetHashCode();
        return hashCode;
    }
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #override #GetHashCode
ADD COMMENT
Topic
Name
1+4 =