LINQ Filtering
This script can be used to filter collections through the use of LINQ.
Create a list(List<int> in the example below) and populate it in order to use said list as an example. Then apply two queries, one to filter the numbers bigger than 5 and the second one to order the items in a descending order, converting the result to a list.
Last updated