dotnet / dotnet/docs

Create the Pattern matching overview, basic pattern articles, and final Fundamentals TOC placement

Open
#55,926 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 19 — Pattern matching: overview + declaration/constant/var + type patterns](https://github.com/dotnet/docs/blob/EverydayCSharp/.github/projects/everyday-csharp/plan/phase-f-patterns-functional.md#pr-19--pattern-matching-overview--declarationconstantvar--type-patterns)

PR 19 is the committed Phase F starting point: it makes the Patterns node live in its final Fundamentals position, now that the prerequisite Expressions and Statements work is merged. Land the overview and first basic-pattern articles together with the TOC move so the section doesn't go live as an empty placeholder.

Revise `pattern-matching.md` as the high-level introduction to pattern matching and switch expressions. Add `declaration-constant-var-patterns.md` and `type-patterns.md`, plus snippets, `toc.yml` entries, and redirects from the former `functional/` pattern paths. Reposition the Patterns TOC section into its final location above Expressions and Statements, and add the deferred Expressions-overview cross-link now that Pattern matching is live.

Done when Patterns appears as a non-empty §11 TOC node, the overview/basic-pattern articles are accessible and example-heavy, redirects preserve old paths, and the cross-link points only to the live target. See the [Phase F plan](https://github.com/dotnet/docs/blob/main/.github/projects/everyday-csharp/plan/phase-f-patterns-functional.md) for the authoritative scope.

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

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.