Mid LINQ

Get last employee alphabetically by name?

Get last employee alphabetically by name

var lastName = employees

.OrderBy(e => e.Name)

.LastOrDefault();

More from LINQ Tutorial

All questions for this course