Frage 9
IList<Person> persons = new List<Person>() { new Person() { Age = 17, Salary = 1000 } , new Person() { Age = 18, Salary = 2000 } , new Person() { Age = 21, Salary = 4000 } , new Person() { Age = 42, Salary = 6000 } , new Person() { Age = 65, Salary = 2000 } }; return persons.Where(x => x.Age > 18 && x.Age < 65).Select(x => x.Salary).Average(); Rückgabewert?