Adding the ?. null verification
Jacob Carlborg via Digitalmars-d
digitalmars-d at puremagic.com
Thu Jun 19 03:10:29 PDT 2014
On 2014-06-18 17:46, Kapps wrote:
> C# is getting the same syntax, and I remember there being some
> discussion about it here. It's somewhat useful I suppose, though I think
> it's made significantly more useful in C# with 'a ?? b' (a if a is not
> null, else b).
And "a ??= b", assigne "b" to "a", only if "a" is null.
--
/Jacob Carlborg
More information about the Digitalmars-d
mailing list