摘要: 关键函数:Enum.ToObject()示例:public enum ItemStatus { ToDo = 2, Doing = 4, Done = 8 };使用时:(ItemStatus)Enum.ToObject(typeof(ItemStatus), 2) 阅读全文