f
null合体演算子
最終更新:
Bot(ページ名リンク)
-
view
string src = null;
string dest = src ?? "ABC"; // destに"ABC"が入る
a == null ? a : b(三項演算子)の省略形。