Mid LINQ

How to write a subquery?

How to write a subquery?

var topEarners = employees

.Where(e => e.Salary > employees.Average(x => x.Salary));

More from LINQ Tutorial

All questions for this course