'T' is a completely normal identifier, it is merely the conventional one used as a type parameter. But you can also use Type, MyType, etc instead of T as that parameter identifier.
The compiler can easily detect if the thing in the [] is a int or type.