Cannot accept the MaxRange and MinRange parameter types. Both parameters must be objects that implement an IComparable interface. ...