更新:2007 年 11 月
错误消息
应输入 ;编译器检测到缺少分号。
下面的示例生成 CS1002:
// CS1002.cs
namespace x
{
   abstract public class clx
   {
      int i   // CS1002, missing semicolon
      public static int Main()
      {
         return 0;
      }
   }
} | |
更新:2007 年 11 月
编译器检测到缺少分号。
下面的示例生成 CS1002:
// CS1002.cs
namespace x
{
   abstract public class clx
   {
      int i   // CS1002, missing semicolon
      public static int Main()
      {
         return 0;
      }
   }
} | |