Mid LINQ

Get first employee with salary > 80000?

Get first employee with salary > 80000

var highPaid = employees.FirstOrDefault(e => e.Salary > 80000);

More from LINQ Tutorial

All questions for this course