public override bool Equals(object obj) { if (obj is Angle) { return(Degrees.EqualOrClose(((Angle)obj).Degrees)); } return(false); }