类型参数(类)

声明:

class MyGenericClass<T1, T2, T3, ...>
{
    // Do something with the type parameters.
}

初始化:

var x = new MyGenericClass<int, char, bool>();

用法(作为参数的类型):

void AnotherMethod(MyGenericClass<float, byte, char> arg) { ... }