c# – 限制.NET中通用参数的数量?

.NET中类型的通用参数的数量是否有限制?硬限制(如32)或软限制(以某种方式影响性能等等)

我所指的是:

class Foo<T0, T2, T3, T4, etc.> {
}
C# 2.0 language spec

8.16.3 Multiple type parameters
Generic type declarations can have any number of type parameters.

翻译自:https://stackoverflow.com/questions/2524293/limit-on-amount-of-generic-parameters-in-net

转载注明原文:c# – 限制.NET中通用参数的数量?