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