a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
24 lines
267 B
C#
24 lines
267 B
C#
class C
|
|
{
|
|
public static int Main ()
|
|
{
|
|
new C ().Foo ();
|
|
return 0;
|
|
}
|
|
|
|
delegate void D ();
|
|
|
|
void Foo ()
|
|
{
|
|
int x = 0;
|
|
D d1 = delegate () {
|
|
int y = 1;
|
|
if (y == 1) {
|
|
int z = 2;
|
|
D d2 = delegate () {
|
|
int a = x + y + z;
|
|
};
|
|
}
|
|
};
|
|
}
|
|
} |