This is a follow up question to the following question:
Javascript Equivalent to C# LINQ Select
We are using Angular 2 + TypeScript:
I have an Array of objects. Each object in the array include a property called 'StudentType'.
I need to run a C# LINQ style query that extract a list of StudentType in the array and number of array members with that particular type.
While I can do an old school loop and do this, I wonder if there is a better way of doing this, like what C# LINQ GroupBy offers.
Since we are using Angular 2, the use of JQuery is not allowed by the project leads.