public MaxResults(int maxResults) { Key = Math.Max(Math.Min(maxResults, MaxValue), MinValue).ToString(); } }