Grouping Objects by using GroupBy using LINQ in C#
Ever need to group by a property and want to use LINQ to do so? Happened to me recently and decided to explore the really simple way to group objects using LINQ using GroupBy. I started off by creating a simple class for a person and created a list Next add the following line This will group your list, people by the...