Conversions lambdas record tutorials#52973
Open
BillWagner wants to merge 6 commits intodotnet:mainfrom
Open
Conversation
First draft of new tutorials.
fa6896b to
aeeb88b
Compare
Contributor
There was a problem hiding this comment.
Pull request overview
Restructures the C# Fundamentals “type system” content by adding new concept articles (conversions, delegates/lambdas/events) and relocating the records tutorial into the Fundamentals tutorial set, with TOC and redirect updates.
Changes:
- Add new conceptual articles for conversions and delegates/lambdas/events, including runnable snippet projects.
- Move the records tutorial under
docs/csharp/fundamentals/tutorials/and update snippet projects to targetnet10.0. - Update
docs/csharp/toc.yml, add a redirect for the removed tutorial path, and adjust an architecture doc link.
Reviewed changes
Copilot reviewed 12 out of 16 changed files in this pull request and generated 5 comments.
Show a summary per file
| File | Description |
|---|---|
docs/csharp/tutorials/records.md |
Removes old tutorial page (replaced by Fundamentals version). |
docs/csharp/toc.yml |
Adds new Fundamentals type-system pages and points the records tutorial to its new location. |
docs/csharp/fundamentals/types/delegates-lambdas.md |
New concept article introducing delegates, lambdas, and events. |
docs/csharp/fundamentals/types/conversions.md |
New concept article covering conversions, casting, boxing, and parsing. |
docs/csharp/fundamentals/types/snippets/delegates-lambdas/delegates-lambdas.csproj |
New snippet project for delegates/lambdas/events article. |
docs/csharp/fundamentals/types/snippets/delegates-lambdas/Program.cs |
New snippet code for delegates/lambdas/events article. |
docs/csharp/fundamentals/types/snippets/conversions/conversions.csproj |
New snippet project for conversions article. |
docs/csharp/fundamentals/types/snippets/conversions/Program.cs |
New snippet code for conversions article. |
docs/csharp/fundamentals/tutorials/records.md |
New records tutorial page under Fundamentals. |
docs/csharp/fundamentals/tutorials/snippets/records/record-types.csproj |
Updates records tutorial snippet project TFM to net10.0. |
docs/csharp/fundamentals/tutorials/snippets/records/Program.cs |
New records tutorial sample app driver. |
docs/csharp/fundamentals/tutorials/snippets/records/InterimSteps.cs |
Adds interim snippet code for records tutorial content. |
docs/csharp/fundamentals/tutorials/snippets/records/DegreeDays.cs |
Adds record hierarchy and PrintMembers customization used by the tutorial. |
docs/csharp/fundamentals/tutorials/snippets/records/DailyTemperature.cs |
Adds record struct used by the tutorial. |
docs/architecture/microservices/microservice-ddd-cqrs-patterns/cqrs-microservice-reads.md |
Updates “Create record types” resource link to the new tutorial location. |
.openpublishing.redirection.csharp.json |
Adds redirect from the removed records tutorial path to the new Fundamentals tutorial URL. |
docs/architecture/microservices/microservice-ddd-cqrs-patterns/cqrs-microservice-reads.md
Outdated
Show resolved
Hide resolved
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #51995
Internal previews