From e7f220b905bff25288bfb9f9c57cc57d34c9e10a Mon Sep 17 00:00:00 2001 From: Maira Wenzel Date: Thu, 10 Jan 2019 01:03:47 -0800 Subject: [PATCH] port changes --- .../VS_Snippets_VBCSharp/CsCsrefQueryKeywords/CS/Group.cs | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/snippets/csharp/VS_Snippets_VBCSharp/CsCsrefQueryKeywords/CS/Group.cs b/snippets/csharp/VS_Snippets_VBCSharp/CsCsrefQueryKeywords/CS/Group.cs index b7ad0e0274d..1956a5aa4fa 100644 --- a/snippets/csharp/VS_Snippets_VBCSharp/CsCsrefQueryKeywords/CS/Group.cs +++ b/snippets/csharp/VS_Snippets_VBCSharp/CsCsrefQueryKeywords/CS/Group.cs @@ -26,8 +26,6 @@ from student in students group student by student.Last[0]; // - - // This query could be easily modified to group by the entire last name. // // Group students by the first letter of their last name @@ -39,7 +37,6 @@ orderby g.Key select g; // Console.WriteLine("The SimpleGroup method produces this output:\r\n"); - // // Iterate group items with a nested foreach. This IGrouping encapsulates @@ -56,10 +53,9 @@ orderby g.Key } // - // - // Same as previous example except we use the entire last name as a key. - // Query variable is an IEnumerable> + // Same as previous example except we use the entire last name as a key. + // Query variable is an IEnumerable> var studentQuery3 = from student in students group student by student.Last;