更新:2007 年 11 月
错误消息
接口不能包含字段下面的示例生成 CS0525:
// CS0525.cs
namespace x
{
   public interface clx
   {
      public int i;   // CS0525
   }
} | |
更新:2007 年 11 月
下面的示例生成 CS0525:
// CS0525.cs
namespace x
{
   public interface clx
   {
      public int i;   // CS0525
   }
} | |