10 lines
188 B
C#
10 lines
188 B
C#
|
class Foo : C<Foo.Bar> {
|
||
|
public class Bar {}
|
||
|
}
|
||
|
class C<T> {}
|
||
|
|
||
|
class Test {
|
||
|
static Foo f = new Foo ();
|
||
|
public static void Main () { System.Console.WriteLine (f.GetType ().BaseType); }
|
||
|
}
|