C#判断一个类型是否是集合类型 作者: 吴杰 分类: 编程 发布时间: 2015-12-05 22:03 C#判断一个类型是否是集合类型: typeof(T).GetTypeInfo().ImplementedInterfaces.Contains(typeof(IEnumerable)) c#