Question & Answer: ar teenAgerStudent = from s in studentList where s.Age > 12 && s.Age s.Age > 12 && s.Age…..

Computer Science C#

Question 7 5 pts var teenAgerStudent-from s in studentList where s.Age > 12 && s.Age < 20 select s; The above query is an example of syntax Method syntax Query syntax Task syntax All of the above Question 8 5 pts var teenAgerStudents = studentList.Where(s => sAge > 12 && sAge < 20) ToList<Student0 The above query is an example of Method syntax Query syntax SQL syntax -syntax O Task syntax

ar teenAgerStudent = from s in studentList where s.Age > 12 && s.Age s.Age > 12 && s.Age

Expert Answer

 

7. Query Syntax

8. Method Syntax

According to C# syntax rules. Above are the syntax for given questions.

Still stressed from student homework?
Get quality assistance from academic writers!