此浏览器不再受支持。
请升级到 Microsoft Edge 以使用最新的功能、安全更新和技术支持。
更新:2007 年 11 月
构造函数“constructor”不能调用自身
程序不能递归调用构造函数。
下面的示例生成 CS0516:
// CS0516.cs namespace x { public class clx { public clx() : this() // CS0516, delete "this()" { } public static void Main() { } } }