/// <summary> /// Initializes static members of the <see cref="Point"/> struct. /// </summary> static Point() { empty = new Point(0, 0); }
/// <summary> /// Checks for equality with another point. /// </summary> /// <param name="other"> /// The other to compare against. /// </param> /// <returns> /// Return true of the point is equal to other. /// </returns> public bool Equals(Point other) { return other.X == this.X && other.Y == this.Y; }