一般不约束,其中T:IEnumerable的一般不、IEnumerable

由网友(烈酒少年心似醉.)分享简介:按照标题,是不是可以声明类型否定约束在C#4?As per the title, is it possible to declare type-negating constraints in c# 4 ?推荐答案没有 - 有没有这样的概念,无论是在C#或CLR No - there's no such conc...

按照标题,是不是可以声明类型否定约束在C#4?

As per the title, is it possible to declare type-negating constraints in c# 4 ?

推荐答案

没有 - 有没有这样的概念,无论是在C#或CLR

No - there's no such concept either in C# or in the CLR.

阅读全文

相关推荐

最新文章