泛型约束 ---类型参数上的限制(where T:class,new())

今天遇到的一个问题,找到了解决办法,收藏以后记得看一下!

猜你喜欢

转载自www.cnblogs.com/sandaman2019/p/10995252.html