public bool Equals(Vector2 other) { return this.X == other.X && this.Y == other.Y; } /// <summary>Returns a value that indicates whether the current instance is equal to a specified object.</summary>