16 lines
163 B
C#
16 lines
163 B
C#
|
using System;
|
||
|
|
||
|
class Foo
|
||
|
{
|
||
|
~Foo()
|
||
|
{
|
||
|
int x = 1;
|
||
|
Action a = () => Console.WriteLine("{0}", x);
|
||
|
}
|
||
|
|
||
|
public static void Main ()
|
||
|
{
|
||
|
new Foo ();
|
||
|
}
|
||
|
}
|