嘿,我刚刚发现了以下声明
return name != null ? name : "NA";
我只是想知道在.NET中这叫什么
是吗?代表那就是这样做......?
c# ternary-operator
c# ×1
ternary-operator ×1