public static void Main()
MyType<string> ss = new MyType<string>();
ss = new MyType<string>();
ss = new MyType<string>();
MyType<object> oo = new MyType<object>();
oo = new MyType<object>();
oo = new MyType<object>();
Console.WriteLine(MyType<string>.Counter);
public class MyType<T> where T : class
public static int Counter;