Skip to content

Clarify index and range usages #46496

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
May 31, 2025

Conversation

BillWagner
Copy link
Member

@BillWagner BillWagner commented May 30, 2025

Fixes #44907 Indexes and ranges are only usable with single dimensional arrays, not multi-dimensional arrays.


Internal previews

📄 File 🔗 Preview link
docs/csharp/language-reference/operators/member-access-operators.md Member access operators and expressions - the dot, indexer, and invocation operators.
docs/csharp/whats-new/csharp-13.md What's new in C# 13

Fixes dotnet#44907 Indexes and ranges are only usable with single dimensional arrays, not multi-dimensional arrays.
@BillWagner
Copy link
Member Author

ping @adegeo

@BillWagner BillWagner merged commit ddca34c into dotnet:main May 31, 2025
12 checks passed
@BillWagner BillWagner deleted the index-range-clarification branch June 2, 2025 14:13
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.

Clarification re the new feature "Implicit index access"
2 participants