Mid LINQ

Use Distinct() on names?

Use Distinct() on names

var distinctNames = employees

.Select(e => e.Name)

.Distinct();

More from LINQ Tutorial

All questions for this course