看到一个不错的介绍枚举的博客,以后忘了可以回顾 http://www.cnblogs.com/hemingwang0902/archive/2011/12/29/2306263.html#title-1