예제 #1
0
 public bool ValueEquals(MyPoint point)
 {
     //System.Diagnostics.Debug.WriteLine($"{this.ToString()} ValueEquals {point}, {this.X == point.X && this.Y == point.Y}");
     return(this.X == point.X && this.Y == point.Y);
 }
예제 #2
0
 public MyPoint(MyPoint p)
 {
     X = p.X;
     Y = p.Y;
 }