public override int GetHashCode() { int hash = 1; if (Width != 0F) { hash ^= Width.GetHashCode(); } if (Heigth != 0F) { hash ^= Heigth.GetHashCode(); } if (Depth != 0F) { hash ^= Depth.GetHashCode(); } return(hash); }
public override string ToString() { return(Heigth.ToString() + " " + Weight.ToString() + " " + BMI.ToString()); }