Skip to content

[C# 14-Tutorials]: New Feature - Use new Extensions in samples and snippets #45758

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
BillWagner opened this issue Apr 9, 2025 · 2 comments
Assignees
Labels

Comments

@BillWagner
Copy link
Member

Visual Studio release

17.14.p3

Link to speclet

Link to Pull request

New behavior

Static classes can include extension containers. These provide new syntax for extension members.

New tutorials

We have a large number of samples that demonstrate extension members. After the G.A. release in November, we should update most of them to use and show the new syntax as the preferred syntax moving forward.

For historical reasons, we should continue to show the existing this syntax.

@BillWagner BillWagner self-assigned this Apr 9, 2025
@dotnet-policy-service dotnet-policy-service bot added the ⌚ Not Triaged Not triaged label Apr 9, 2025
@github-project-automation github-project-automation bot moved this to 🆕 New in Everyday C# Apr 9, 2025
@BillWagner BillWagner removed the ⌚ Not Triaged Not triaged label Apr 10, 2025
@DevTKSS
Copy link

DevTKSS commented Apr 23, 2025

@BillWagner not sure if your Issue here is to this page but its closely related in my opinion:

https://github.com/dotnet/docs/blob/main/docs%2Fcsharp%2Fprogramming-guide%2Fclasses-and-structs%2Fextension-methods.md

The first paragraph here includes two

<< ... >>

Which seems to me kind of misplaced🤔 could you have a look at this?

If you are busy with other stuff I could try to help out on this, if someone could tell what should instead be there😅 did no ms learn docs so far only regular docfx md docs PR but beside some documented ms specifics I think it will be very similar.

@BillWagner
Copy link
Member Author

Thanks @DevTKSS

That's what happens when you leave yourself notes while proofreading and forget to clean them up.....

I'll make a PR for it today.

BillWagner added a commit to BillWagner/docs that referenced this issue Apr 23, 2025
See dotnet#45758 (comment)

I didn't cleanup my notes on the introduction to this article.
BillWagner added a commit that referenced this issue Apr 23, 2025
See #45758 (comment)

I didn't cleanup my notes on the introduction to this article.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: 🆕 New
Development

No branches or pull requests

2 participants