Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

c# 8 null coalescing assignment

// C# 8 null coalescing assignment operator:
a ??= b;
// the same as:
a = a ?? b;
 
PREVIOUS NEXT
Tagged: #null #coalescing #assignment
ADD COMMENT
Topic
Name
3+1 =