private void Method()
{
System.Action action;
int a = 10;
int b = 20;
action = a >= b ? null : (System.Action)Method;
}
c# 三元表达式 无法确定条件表达式的类型,不存在隐式转换的问题
最新推荐文章于 2022-01-07 10:51:35 发布