In this excerpt, author N. Satheesh Kumar shows us how to query different objects using LINQ operators and avoid having to use the looping method to filter the values in a collection. Without LINQ, we'd have to go through the values one-by-one and then find the required details. However, using LINQ we can directly query collections and filter the required values without using any looping. |