CS0310 C# 'T' must be a non-abstract type with a public parameterless constructor in order to use i

在方法最後加上 where T : new()

猜你喜欢

转载自blog.csdn.net/jasonhongcn/article/details/87639857