Kris
0
Q:

c# 8 null coalescing assignment

//the null coalescing operator for c# is ??
int? x = null;
int y = 9;
return x ?? y; 
//Will return the value of x if x is not null else return y
7
// C# 8 null coalescing assignment operator:
a ??= b;
// the same as:
a = a ?? b;
0

New to Communities?

Join the community