▲ | gus_massa 5 days ago | |||||||||||||||||||||||||
From the article: > If config?.Settings is null, the assignment is skipped. If the right hand expression has side effects, are they run? I guess they do, and that would make the code more predictable. | ||||||||||||||||||||||||||
▲ | Izikiel43 5 days ago | parent | next [-] | |||||||||||||||||||||||||
From the article as well: Side-Effect Prevention When a null-conditional statement assignment is evaluated, the right-hand side of the expression is not executed unless the left-hand side is defined. | ||||||||||||||||||||||||||
| ||||||||||||||||||||||||||
▲ | 5 days ago | parent | prev [-] | |||||||||||||||||||||||||
[deleted] |