📌  相关文章
📜  "? :" in asp.net core - C# 代码示例

📅  最后修改于: 2022-03-11 14:48:43.636000             🧑  作者: Mango

代码示例1
//is this condition true ? yes : no
Object obj = null

var uri = (obj == null) ? "Yes" : "No";

// uri = "yes"