dotnet / dotnet/docs

Create the Pattern matching property, positional, relational, logical, and list pattern articles

Open
#55,927 0 comments 0 reactions 1 assignee Claimed by @BillWagner View on GitHub
:pushpin: seQUESTered dotnet-csharp/svc dotnet-fundamentals/svc
Dominant language
No language data
Stars
4.8k
Forks
6.1k
Avg merge
19h 10m
Merged PRs (30d)
268

Description

[Everyday C# PR 20 — Pattern matching: property/positional + relational/logical + list patterns](https://github.com/dotnet/docs/blob/EverydayCSharp/.github/projects/everyday-csharp/plan/phase-f-patterns-functional.md#pr-20--pattern-matching-propertypositional--relationallogical--list-patterns)

PR 20 is the next committed slice after PR 19 makes the Patterns node live: it expands coverage with the remaining everyday pattern forms and adds the planned cross-link to the already-live Expressions operators article.

Add `property-positional-patterns.md`, `relational-logical-patterns.md`, and `list-patterns.md`, plus snippets and `toc.yml` entries under the existing Patterns node. Add the relational-patterns cross-link to `expressions/operators.md`, and make sure samples clearly distinguish pattern syntax from operator syntax where the same tokens appear (e.g., relational operators used as patterns).

Done when property, positional, relational, logical, parenthesized, list, and slice patterns all have Fundamentals-level coverage slotted under the existing node (no TOC reorder needed), the operator cross-link is live, and the pattern-vs-operator distinction is clear in the samples. See the [Phase F plan](https://github.com/dotnet/docs/blob/main/.github/projects/everyday-csharp/plan/phase-f-patterns-functional.md) for scope.

---
[Associated WorkItem - 632368](https://dev.azure.com/msft-skilling/Content/_workitems/edit/632368)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.