a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
24 lines
278 B
C#
24 lines
278 B
C#
public delegate int T<X> (X x);
|
|
|
|
public class B
|
|
{
|
|
public static T<X> M<X> ()
|
|
{
|
|
return delegate(X x) { return 5; };
|
|
}
|
|
|
|
public static T<long> N ()
|
|
{
|
|
return delegate(long x) { return 6; };
|
|
}
|
|
}
|
|
|
|
public class D
|
|
{
|
|
public static void Main ()
|
|
{
|
|
B.M<int>();
|
|
B.N ();
|
|
}
|
|
}
|