public override bool Equals([NotNullWhen(true)] object?other) { if (other is Int32Pair) { Int32Pair o = (Int32Pair)other; return(_left == o._left && _right == o._right); } return(false); }
public override bool Equals(object other) { if (other is Int32Pair) { Int32Pair o = (Int32Pair)other; return(_left == o._left && _right == o._right); } return(false); }
public override bool Equals(object other) { if (!(other is Int32Pair)) { return(false); } Int32Pair pair = (Int32Pair)other; return((this.left == pair.left) && (this.right == pair.right)); }