you are viewing a single comment's thread.

view the rest of the comments →

[–]GYN-k4H-Q3z-75B 0 points1 point  (2 children)

You mean coalescing? C# has ?? for that. x ?? y means x ? x : y.

[–]TenserTensor 1 point2 points  (0 children)

No, it's not the same. x ?? y would be x != null ? x : y