mjc65

Example 1-59. Nesting the null-coalescing operator

Jun 23rd, 2020
493
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.07 KB | None | 0 0
  1. int? x = null;
  2. int? z = null;
  3. int y = x ??
  4.         z ??
  5.         -1;
Advertisement
Add Comment
Please, Sign In to add comment