更新:2007 年 11 月
错误消息
不允许在命名空间中定义的元素上使用关键字“new”没有必要在
下面的示例生成 CS1530:
// CS1530.cs
namespace a
{
new class i // CS1530
{
}
// try the following instead
class ii
{
public static void Main()
{
}
}
} | |