Mid LINQ

Generate comma-separated string of all names?

Generate comma-separated string of all names

var result = string.Join(", ", employees.Select(e => e.Name));

More from LINQ Tutorial

All questions for this course