interface I { void Hello (); } class Stack where T : I, new () { } class Test { } class X { static void Main() { } }