Mid LINQ Create dictionary from list? Create dictionary from list var empDict = employees.ToDictionary(e => e.Id);