In LINQ, what is the purpose of the select clause?

  • To filter the results
  • To join the results
  • To project the results
  • To sort the results
The purpose of the select clause in LINQ is to project the results. It allows you to define the shape of the result set by selecting specific fields or transforming the elements of the source sequence into a new form.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *