Type中的3个bool属性: IsGenericType , IsGenericTypeDefinition , IsGenericParameter
摘要:
首先说下 IsGenericType 用3个实例说明: typeof(DateTime).IsGenericType : false typeof(List).IsGenericType: true typeof(Dictionary).IsGenericType:tr... 阅读全文
posted @ 2015-05-20 14:59 norsd 阅读(507) 评论(0) 推荐(0) 编辑