You are creating an ASP.NET application by using Microsoft .NET Framework 3.5.
The application is a library application that catalogs subjects and books. The application contains
“A Composite Solution With Just One Click” – Certification Guaranteed 45 Microsoft 70-564 Exam
a DataContext object named Subjects and a related line of business object named Books.
The Subjects DataContext object is queried by using the following LINQ query.
var query =
Iroro subject in Subjects
where ‘. ( subject.Books
.All(b => b.Price < = 25 && price >= 20))
select subject;
You need to find out the results that will be returned from the query.
What is the result of the query?
A.
Subjects that appear on at least one book that is priced fewer than 20 or over 25.
B.
Subjects for all books that are priced outside the range 20 to 25.
C.
Subjects for all books that are priced in the range 20 to 25 inclusive.
D.
Subjects that appear on at least one book priced between 20 and 25 inclusive.