Query Expressions Quiz
Below are the answers to the Query Expressions Quiz, along with a brief discussion.
1. from
clauses are the only way to start a LINQ query.
2. You can terminate a query expression by select
clause or a group
clause. A select
clause produces a collection of individual items, while a group
clause produces items bundled in groups.
3. where
clause.
4. True. Multiple criteria can be specified by separating them with commas.
5. The join
clause takes two collections and combines them together.