在C#中有时会碰到变量类型后面个单问号或双问号,如下 int? id = null; private string GetData( ) { //逻辑处理; return data ?? "OK"; }int? id = null 你的当前访问异常,请进行认证后继续阅读剩余内容。 提交