// Declare the generic class
public class GenericList
{
void Add(T input) { }
}
class TestGenericList
{
private class ExampleClass { }
static void Main()
{
// Declare a list of type int
GenericList
// Declare a list of type string
GenericList
// Declare a list of type ExampleClass
GenericList
}
}