24 lines
285 B
C#
24 lines
285 B
C#
|
using System;
|
||
|
|
||
|
class DerivedGenericClass<T> : BaseClass
|
||
|
{
|
||
|
public override void Foo () {}
|
||
|
|
||
|
public void Baz ()
|
||
|
{
|
||
|
Foo ();
|
||
|
}
|
||
|
}
|
||
|
|
||
|
abstract class BaseClass
|
||
|
{
|
||
|
public abstract void Foo ();
|
||
|
}
|
||
|
|
||
|
class X
|
||
|
{
|
||
|
public static void Main ()
|
||
|
{
|
||
|
}
|
||
|
}
|