public override bool Equals(object obj) { if (obj is Key item) { return(PubKey.Equals(item.PubKey)); } return(false); }
public override bool Equals(object obj) { Key item = obj as Key; if (item == null) { return(false); } return(PubKey.Equals(item.PubKey)); }