[OT] my experience with nullable types (C#)

Python python at python.com
Wed May 7 07:08:43 UTC 2025


BTW, NET10 will have a new operator, the null check assignment:


`someRef?.Prop = 10` will be shorthand for:

```
if (someRef != null)
   someRef.Prop = 10;
```

But the nice part is that if through flow analysis the compiler 
will know that someRef is not null, it will strip out the null 
check.


More information about the Digitalmars-d mailing list