重载public Primes ():this(2,100)时间:2023-03-09 06:39:43 当构造函数有多个重载的时候 想通过默认构造函数调用其他的重载的构造函数的话 就可以用:运算符public Primes():this(2, 100){//code }public Primes(int a, int b) //重载的{//code}string s = default(string);//表示的是获取某种类型的默认值