a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
22 lines
309 B
C#
22 lines
309 B
C#
abstract class sample
|
|
{
|
|
public abstract TValue Value<TKey, TValue> ();
|
|
|
|
class nested<T> : sample
|
|
{
|
|
struct holder<TKey, TValue>
|
|
{
|
|
public static TValue Val;
|
|
}
|
|
|
|
public override sealed TValue Value<TKey, TValue> ()
|
|
{
|
|
return holder<TKey, TValue>.Val;
|
|
}
|
|
}
|
|
|
|
public static void Main ()
|
|
{
|
|
}
|
|
}
|