Chaining the C# ?? Operator(west-wind.com)
submitted by
rstrahl(7226) 4 years ago
The C# 2.0 ?? operator makes it easy to assign a default value to nulls. Nothing new here, but did you know that you can also chain the operator to quickly check many value and find the first non-null value?
|category: C#
|Views: 3
tags:
notagain Operators C# another
Everyones tags:
Your Tags: