a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
29 lines
241 B
C#
29 lines
241 B
C#
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 ();
|
|
}
|
|
}
|