17 lines
225 B
C#
17 lines
225 B
C#
|
using System;
|
||
|
using System.Linq.Expressions;
|
||
|
|
||
|
public class Test
|
||
|
{
|
||
|
public static int Main()
|
||
|
{
|
||
|
Expression<Func<int>> f = (() => Value());
|
||
|
return f.Compile ().Invoke ();
|
||
|
}
|
||
|
|
||
|
private static int Value()
|
||
|
{
|
||
|
return 0;
|
||
|
}
|
||
|
}
|