Which LINQ operator is used to filter elements in a sequence based on a specified condition?

  • GroupBy
  • OrderBy
  • Select
  • Where
The Where operator is used to filter elements in a sequence based on a specified condition. It takes a predicate as an argument and returns a new sequence containing only the elements that satisfy the specified condition. This is commonly used for filtering data in LINQ queries.
Add your answer
Loading...

Leave a comment

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