重载public Primes ():this(2,100)

当构造函数有多个重载的时候 想通过默认构造函数调用其他的重载的构造函数的话 就可以用:运算符
public Primes():this(2, 100)
{
//code

}
public Primes(int a, int b) //重载的
{
//code
}
string s = default(string);//表示的是获取某种类型的默认值
原文地址:https://www.cnblogs.com/BoYu045535/p/3683131.html