From 29bb99d2db3be68a68930d38ea18004f22cae41c Mon Sep 17 00:00:00 2001 From: GrantiVersace Date: Fri, 23 Nov 2018 21:41:27 -0600 Subject: [PATCH] Simple grammatical fixes (#23495) --- guide/english/csharp/linq/index.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/guide/english/csharp/linq/index.md b/guide/english/csharp/linq/index.md index 4aa32c11894..b665d059cb6 100644 --- a/guide/english/csharp/linq/index.md +++ b/guide/english/csharp/linq/index.md @@ -8,7 +8,7 @@ LINQ (Language Integrated Query) is a Microsoft programming model and methodolog ## Example -LINQ can be used to filter, transform, search data and a lot more of complex tasks. Let's say we have the following list of objects: +LINQ can be used to filter, transform, search data and a lot more complex tasks. Let's say we have the following list of objects: ```csharp var fruits = new List() { @@ -34,7 +34,7 @@ var qntRed = fruits.Where(Color == "Red").Count(); // 2 // Create a list of yellow fruits var yellowFruits = fruits.Where(f => f.Color == "Yellow").ToList(); // { Pineapple, Mango } -// Orders list by quantity from most to less +// Orders list by quantity from most to least var orderedFruits = fruits.OrderByDescending(f => f.Quantity).ToList(); // {Grape, Strawberry, Orange, Apple, Mango, Pineapple} // Sum the quantity of fruits