Re:What's New in C# 14: Null-Conditional Assignments
by Metasyntactic on Thursday September 18, 2025 @08:57AM
(#45289066)
Sure. But that was the case prior to this feature as well. Previously you'd have to store the variable somewhere and null check it. Those could all lead to different outcomes. This just encapsulates that pattern safely in a regular manner. :)
But also, reading the code will mean keeping track of (slightly) more possible outcomes.