Skip to content

Conversation

BillWagner
Copy link
Member

@BillWagner BillWagner commented Oct 3, 2025

@BillWagner BillWagner marked this pull request as ready for review October 6, 2025 18:48
@BillWagner BillWagner requested a review from a team as a code owner October 6, 2025 18:48
@BillWagner
Copy link
Member Author

Tagging @adegeo because he gave me some ideas for extensions

Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR creates a comprehensive tutorial for C# 14 extension members, a new language feature that enhances the existing extension methods functionality by enabling properties, operators, and type-level extensions.

Key Changes:

  • Added a new tutorial demonstrating extension members syntax and capabilities
  • Created supporting code samples comparing traditional extension methods with new extension member features
  • Updated the table of contents to include the new tutorial

Reviewed Changes

Copilot reviewed 9 out of 9 changed files in this pull request and generated 5 comments.

File Description
docs/csharp/whats-new/tutorials/extension-members.md Main tutorial document explaining extension members concepts and syntax
docs/csharp/toc.yml Added navigation entry for the new extension members tutorial
docs/csharp/whats-new/tutorials/snippets/PointExtensions/*.cs Code samples demonstrating both traditional extension methods and new extension members

Copy link
Contributor

@meaghanlewis meaghanlewis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great tutorial @BillWagner! I left primarily style changes for you to consider.

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Meaghan Osagie (Lewis) <moneikmarie@gmail.com>
@BillWagner BillWagner enabled auto-merge (squash) October 7, 2025 12:31
@BillWagner BillWagner merged commit 3e029ce into dotnet:main Oct 7, 2025
8 checks passed
@BillWagner BillWagner deleted the extension-tutorial branch October 7, 2025 13:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[C# 14-Tutorials]: New Feature - Extensions
2 participants