摘要: 由于wp7没有实现Enum的GetNames方法。所以要自己实现。以下代码: public class Enum<T> { public static IEnumerable<string> GetNames() { var type = typeof(T); if (!type.IsEnum) ... 阅读全文
posted @ 2013-01-05 14:25 黎东海 阅读(253) 评论(0) 推荐(0) 编辑