Mid LINQ

Combine employee names with their department (string format)?

Combine employee names with their department (string format)

var combined = employees.Select(e => $"{e.Name} - {e.Department}");

More from LINQ Tutorial

All questions for this course