/// <summary> /// Returns whether the specified element is contained in the receiver. /// </summary> /// <param name="element"></param> /// <returns></returns> public Boolean Contains(double element) { this.Sort(); return(values.Contains(element)); }