Since the enumerable is created, we are free to perform all LINQ operation on it. Let’s start with a simple search: I want to find the person whose name is ‘Fernando’. The code below illustrates that. Notice the sintaxt used by the library. While in C# we write lambda expressions (x => x.Name), here we use the symbol $.
Next, we filter the collection with the people with age greater then 25 and select their names.
Next, we order the collection by age and select their names.
Finally, we group the collection by sex. In addition, each group is ordered by name.