Mid LINQ

Create dictionary from list?

Create dictionary from list

var empDict = employees.ToDictionary(e => e.Id);

More from LINQ Tutorial

All questions for this course