Recently I have encountered "??" and "?." operators in C#. I wonder if someone could tell me how these two operators work and what are their main use cases and possible differences? Any guide or help appreciated in advance.
-
1'??' is called the "null coalescing operator". There are a lot of posts about it here on SO. I recommend just entering it into the search bar. There is a good post for it here: stackoverflow.com/questions/11960732/…avariant– avariant2019-03-27 21:22:24 +00:00Commented Mar 27, 2019 at 21:22
Add a comment
|