更新:2007 年 11 月
错误消息
构造函数“constructor”不能调用自身程序不能递归调用构造函数。
下面的示例生成 CS0516:
// CS0516.cs
namespace x
{
   public class clx
   {
      public clx() : this()   // CS0516, delete "this()"
      {
      }
      public static void Main()
      {
      }
   }
} | |