typeParameterCount

Returns the number of generic type parameters of this object's class.

For arrays, always returns 1. For non-parameterized types, returns 0.

Extension property on Any.