foreach (object o in Enum.GetValues(typeof(EmpType)))
{
Console.WriteLine("{0}:{1}", o, Enum.Format(typeof(EmpType), o, "D"));
}
转载于:https://www.cnblogs.com/apollokk/p/6713868.html
foreach (object o in Enum.GetValues(typeof(EmpType)))
{
Console.WriteLine("{0}:{1}", o, Enum.Format(typeof(EmpType), o, "D"));
}
转载于:https://www.cnblogs.com/apollokk/p/6713868.html