// A generic type definition may have another generic type // definition as its parent. class Stack { public void Hello (S s) { } } class Test : Stack { public void Foo (T t) { } } class X { Test test; void Test () { test.Foo (4); test.Hello (3); } public static void Main () { } }