I have a task to find a number of integers which are more than some specified value using Aggregate. For example, there is a list of integers
List<int> list = new List<int>() { 100, 200, 300, 400, 500 };
On this list I need to find the number of elements of this list which are more than 250. There should be 3 of them, but I need to use Aggregate there somehow to find this number.
Can anybody help please?