-
Couple of thing I would like to discuss and understand Here a small sample of using out variable declaration just for base
Now if for some reason I expect dictionary to be null and I would use null propagation
First thing that bogs me is that I have to explicitly compare to true since now the result is nullable.
Am I missing something or null propagation and out variables were never meant to play well together? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
@RikkiGibson is actually working on a proposal to make this better. There are number of related issues on csharplang in this area. |
Beta Was this translation helpful? Give feedback.
@RikkiGibson is actually working on a proposal to make this better. There are number of related issues on csharplang in this area.