using System; class A { } class B : A { } // Here, V must inherit T. class Gen where V : T { } class MainClass { public static void Main() { Gen x = new Gen(); // error // Gen y = new Gen(); } }