-
Notifications
You must be signed in to change notification settings - Fork 6k
[C# 14-Fundamentals and reference]: New Feature - null conditional assignment #45610
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
Labels
🏁 Release: .NET 10
Work items for the .NET 10 release
dotnet-csharp/svc
📌 seQUESTered
Identifies that an issue has been imported into Quest.
resolved-by-customer
whats-new/subsvc
Comments
BillWagner
added a commit
to BillWagner/docs
that referenced
this issue
Apr 4, 2025
Fixes dotnet#45610 Add language reference material for the null conditional assignment.
BillWagner
added a commit
to BillWagner/docs
that referenced
this issue
Apr 8, 2025
Fixes dotnet#45610 Add language reference material for the null conditional assignment.
BillWagner
added a commit
to BillWagner/docs
that referenced
this issue
Apr 9, 2025
Fixes dotnet#45610 Add language reference material for the null conditional assignment.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
🏁 Release: .NET 10
Work items for the .NET 10 release
dotnet-csharp/svc
📌 seQUESTered
Identifies that an issue has been imported into Quest.
resolved-by-customer
whats-new/subsvc
Visual Studio release
17.14.p3
Link to speclet
Link to Pull request
New behavior
Once this feature is merged,
a?.b
anda?[b]
expressions can appear as the LHS for an assignment.If the LHS is null, the RHS expression isn't evaluated.
Language reference tasks
Check and make sure that assignment discussions include this, and the key point that the RHS isn't evaluated.
Everyday C# tasks
Doubtful.
Associated WorkItem - 417142
The text was updated successfully, but these errors were encountered: