public override int GetHashCode() { return this.X.GetHashCode() + this.Y.GetHashCode(); } /// <summary>Calculates the length of the vector.</summary>