Mid LINQ

Find names of employees with even-length names?

Find names of employees with even-length names

var evenNames = employees

.Where(e => e.Name.Length % 2 == 0)

.Select(e => e.Name);

More from LINQ Tutorial

All questions for this course