In a LINQ query, the orderby clause is used to ___________ the elements in the result set.
- Arrange
- Filter
- Sort
- Group
The "orderby" clause in a LINQ query is used to sort the elements in the result set based on specified criteria. Hence, it sorts the elements, not arranges or filters them. "Sort" is the correct option.
Loading...
Related Quiz
- Scenario: You need to read data from a large SQL Server database. Which ADO.NET data reader should you use, and why?
- What is the purpose of the Connection Pooling feature in ADO.NET?
- In Entity Framework, you can improve performance by using ___________ for executing raw SQL queries.
- When working with the Oracle database, you would use the ___________ data reader.
- In Entity Framework, what is the role of the DbContext class?