我在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”;改用類型名來限定它
添加回答
舉報
0/150
提交
取消