public override bool Equals(object other) { if (!(other is Sha256Hash)) return false; return _bytes.SequenceEqual(((Sha256Hash) other)._bytes); }
public override bool Equals(object o) { if (!(o is Block)) { return(false); } var other = (Block)o; return(Hash.Equals(other.Hash)); }