获取IEnumerable中元素的类型

来源:互联网 发布:南京行知实验中学电话 编辑:程序博客网 时间:2024/06/05 03:46
//using System.Linq;Type type = objects.AsQueryable().ElementType;