Back
Close

C# LINQ Introduction

breigo
6,726 views

Filter data with Where

We've built up our understanding of LINQ using Where(predicate) in the last section.

You can apply Where to restrict the result set to contain only elements that satisfy a specified condition.

Example

Return all people, who are at least 30 years old.

Where
Create your playground on Tech.io
This playground was created on Tech.io, our hands-on, knowledge-sharing platform for developers.
Go to tech.io
codingame x discord
Join the CodinGame community on Discord to chat about puzzle contributions, challenges, streams, blog articles - all that good stuff!
JOIN US ON DISCORD
Online Participants