标签:
遍历:
1. 取出枚举的列表
public IEnumerable<eRoomState> RoomStateList { get { return Enum.GetValues(typeof(eRoomState)).Cast<eRoomState>(); } }
.NET之枚举
原文地址:http://www.cnblogs.com/wantoo/p/4658674.html