public static KeyValuePair <T, TKey>[] MonotoneTopX <T, TKey>(this IEnumerableExpression <T> source, int x, Expression <Func <T, TKey> > keySelector) { return(source.TopX(x, keySelector)); }