29 lines
241 B
C#
Raw Normal View History

using System;
interface IA
{
void Foo ();
}
interface IG<T> : IA
{
void GenFoo ();
}
class M : IG<int>
{
public void Foo ()
{
}
public void GenFoo ()
{
}
public static void Main ()
{
IG<int> v = new M ();
v.Foo ();
}
}