5 public static void Main ()
12 class G<T> where T : new ()
14 public static void Foo ()
16 Console.WriteLine ((new T ()).GetType ().ToString ());
20 class G2<T> where T : class, new ()
22 public static void Foo ()
24 Console.WriteLine ((new T ()).GetType ().ToString ());