Equals() public method

Returns true if the hashes are equal.
public Equals ( object other ) : bool
other object
return bool
Exemplo n.º 1
0
        public override bool Equals(object o)
        {
            if (!(o is Block))
            {
                return(false);
            }
            var other = (Block)o;

            return(Hash.Equals(other.Hash));
        }