Limit on amount of generic parameters in .NET?
Posted
by thr
on Stack Overflow
See other posts from Stack Overflow
or by thr
Published on 2010-03-26T15:13:33Z
Indexed on
2010/03/26
15:23 UTC
Read the original article
Hit count: 305
Is there a limit on the amount of generic parameters you can have on a type in .NET? Either hard limit (like 32) or a soft limit (where it somehow effects performance to much, etc.)
What I'm referring to is:
class Foo<T0, T2, T3, T4, etc.> {
}
© Stack Overflow or respective owner