a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
22 lines
246 B
C#
22 lines
246 B
C#
using System;
|
|
|
|
delegate int D (int i = 1);
|
|
|
|
class C
|
|
{
|
|
static int Foo (int i = 9)
|
|
{
|
|
return i;
|
|
}
|
|
|
|
public static int Main ()
|
|
{
|
|
D d = new D (Foo);
|
|
var res = d ();
|
|
if (res != 1)
|
|
return 1;
|
|
|
|
Console.WriteLine (res);
|
|
return 0;
|
|
}
|
|
} |