Answer the question
In order to leave comments, you need to log in
How to pass a lambda expression and call all maximums?
Can you please tell me how to pass a lambda expression as a parameter to a method and get the result?
For example:
var list = new List{...};
list.Max(15, person => person.Age) // takes T and returns an int
should return the 15% of users with the highest age in descending order.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question