这是indexloc提供的服务,不要输入任何密码
Skip to content
This repository was archived by the owner on Jan 14, 2025. It is now read-only.
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions 101-linq-samples/docs/restrictions.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,7 @@ The `where` clause of a LINQ query *restricts* the output sequence. Only the ele

This sample uses where to find all elements of an array less than 5. It demonstrates the components of a query, including a `where` clause that filters for small numbers.

``` cs --region where-syntax --source-file ../src/Restrictions.cs --project ../src/Try101LinqSamples.csproj
```
```cs --region where-syntax --source-file ../src/Restrictions.cs --project ../src/Try101LinqSamples.csproj```

## Filter elements on a property

Expand Down