摘要:
int?:表示可空类型,就是一种特殊的值类型,它的值可以为null 用于给变量设初值得时候,给变量(int类型)赋值为null,而不是0 int??:用于判断并赋值,先判断当前变量是否为null,如果是就可以赋役个新值,否则跳过 public int? a=null; public int b() 阅读全文
摘要:
1、学生数据类 public class Student { public Student() { } public Student(string no,string name) { this.StudentNo = no; this.StudentName = name; } private st 阅读全文