Skip to content

Update csharp-14.md #45907

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

Merged
merged 1 commit into from
Apr 24, 2025
Merged

Update csharp-14.md #45907

merged 1 commit into from
Apr 24, 2025

Conversation

mister-giga
Copy link
Contributor

@mister-giga mister-giga commented Apr 23, 2025

Fix indexer type in sample code

Summary

The return type of indexer is wrong in sample, which is a bit confusing

Fixes #Issue_Number (if available)


Internal previews

📄 File 🔗 Preview link
docs/csharp/whats-new/csharp-14.md What's new in C# 14

Fix indexer type in sample code
@mister-giga mister-giga requested review from BillWagner and a team as code owners April 23, 2025 18:10
@dotnetrepoman dotnetrepoman bot added this to the April 2025 milestone Apr 23, 2025
@dotnet-policy-service dotnet-policy-service bot added dotnet-csharp/svc whats-new/subsvc community-contribution Indicates PR is created by someone from the .NET community. labels Apr 23, 2025
Copy link
Member

@BillWagner BillWagner left a comment

Choose a reason for hiding this comment

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

Thanks for spotting this and fixing it @mister-giga

I'll :shipit: now.

@BillWagner BillWagner merged commit cebcdf8 into dotnet:main Apr 24, 2025
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
community-contribution Indicates PR is created by someone from the .NET community. dotnet-csharp/svc whats-new/subsvc
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants