The Select Method
So far, we have seen only one LINQ method, the
Where method. LINQ has more methods available. Let’s look at some other common LINQ methods.
How to transform a collection
Select method, we can transform every element of a collection. It applies a transformation, or mapping function, to every element of the input collection.
For example, let’s find the names of only our favorite movies.