I remember, I read it somewhere, but now I can not find it in the results of Google.
Does the latest C # (VS2013) support any such operator?
SomeObject.?SomeMember = SomeValue;
It is supposed to be assigned SomeValue SomeObject.SomeMemberonly if SomeObjectit is not null.
NB: I know that we can do this through HasValueother ways. I'm just asking about a new operator.
source
share