예제 #1
0
 public override bool Equals(Position other)
 {
     if (other is Pos)
     {
         Pos otherP = (Pos)other;
         return(R1.Equals(otherP.R1) && R2.Equals(otherP.R2) && C == otherP.C);
     }
     else
     {
         return(false);
     }
 }