类型加问号 如:int ?表示可为空的类型
public int addRow(int? id,string name)
例子: FormsAuth = formsAuth ?? new FormsAuthenticationService();
如果变量不为null调用左边公式, 为空则调用右边公式。
类型加问号 如:int ?表示可为空的类型
public int addRow(int? id,string name)
例子: FormsAuth = formsAuth ?? new FormsAuthenticationService();
如果变量不为null调用左边公式, 为空则调用右边公式。