QuestionQ47

VerifiedData Manipulation

Which LINQ method filters data in a List or DataTable according to a condition?

Explanation

LINQ's Where method returns only the elements that satisfy a specified predicate. GroupBy creates groups, OrderBy sorts elements, and Select projects elements into a new form.

Community Discussion

No comments yet. Be the first to start the discussion!