int? i = null; //这样赋值没问题,但是 int? i = (1==1)? null : 3; //这样就提示"无法确定条件表达式的类型,因为“<null>”和“int”之间没有隐式转换”int? i = (1==1)? 你的当前访问异常,请进行认证后继续阅读剩余内容。 提交