代替
if (foo == "1" || foo == "5" || foo == "9" ... )
我喜欢将它们组合成以下(不起作用):
if (foo == ("1" || "5" || "9" ... ))
那可能吗?
.net c#
.net ×1
c# ×1