我在operation.cs中声明了一个枚举类型:
public enum order
{
NewAccount,
FindAccount
}
在test.cs中使用的时候报错:
public class test
{
public static void Main(String[] args)
{
order operationOrder;
Console.WriteLine(operationOrder.NewAccount);
}
}
无法使用实例引用访问静态成员“order.NewAccount”;改用类型名来限定它
一只斗牛犬