更新:2007 年 11 月
错误消息
参数类型 void 无效
指定 void 指针以外的 void 参数没有必要或者是无效的。
下面的示例生成 CS1536:
// CS1536.cs
class a
{
   public static int x( void )   // CS1536
   // try the following line instead
   // public static int x()
   {
      return 0;
   }
   public static void Main()
   {
   }
}