Jo Shields a575963da9 Imported Upstream version 3.6.0
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
2014-08-13 10:39:27 +01:00

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 ();
}
}