Mid LINQ

Create lookup (multi-dictionary) of employees by department?

Create lookup (multi-dictionary) of employees by department

var lookup = employees.ToLookup(e => e.Department);

More from LINQ Tutorial

All questions for this course