19 lines
243 B
C#
Raw Normal View History

class Base
{
public virtual void Foo<T> () {}
}
class Derived : Base
{
public override void Foo <T> () {}
}
class Driver
{
public static void Main ()
{
new Derived ().Foo<int> ();
}
}