Answer the question
In order to leave comments, you need to log in
How to return Generic?
Tell me how to return from a generic int overload method? I can not understand...
public static IEnumerable<int> SomeMethod<T>(this IEnumerable<T> list, Func<T, int> someAction, int percentline)
...
return???
Answer the question
In order to leave comments, you need to log in
Judging by what parameters you have passed to the method, then you need the Select method.
What is percentline for, by the way? How is it used?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question