C#判断一个类型是否是集合类型 发表评论 判断一个类型是否是集合类型: typeof(T).GetTypeInfo().ImplementedInterfaces.Contains(typeof(IEnumerable)) 本文为“老吴笔记”的原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接及本声明。原文链接:https://www.jsdd.net/determine-if-a-type-is-a-collection-type/