枚举实现方式demo

发布时间 2023-04-18 22:14:50作者: 网络来者

 

 

class Program

{

static void Main(string[] args)

{

Console.WriteLine(INSTRUCTION_STATUS.新建);

Console.ReadKey();

}

}

 

 

 

class INSTRUCTION_STATUS

{

public const string 新建 = "new";

public const string 下达 = "";

public const string 完成 = "";

public const string 取消 = "";

public const string 部分完成 = "";

public const string 手动关闭 = "";

}