skip to main |
skip to sidebar
The C# ?? null coalescing operator
One of the subtle (but cool) language features of C# is the ?? "null coalescing" operator. This provides a nice, terse way to check whether a value is null, and if so return an alternate value.
No comments:
Post a Comment