18 lines
252 B
C#
18 lines
252 B
C#
|
public class MyBase<K, V>
|
||
|
{
|
||
|
public delegate void Callback (K key, V value);
|
||
|
|
||
|
public MyBase (Callback insertionCallback)
|
||
|
{ }
|
||
|
}
|
||
|
|
||
|
public class X : MyBase<string, int>
|
||
|
{
|
||
|
public X (Callback cb)
|
||
|
: base (cb)
|
||
|
{ }
|
||
|
|
||
|
public static void Main ()
|
||
|
{ }
|
||
|
}
|