class ExpressionTree {
delegate T Func<T>( T a, T b );
public static void Demo() {
Func<int> x = (a, b) => a + b;
Expression<Func<int>> y = (a, b) => a + b;

Console.WriteLine( "Delegt" );
Console.WriteLine( x.ToString() );
Console.WriteLine( x( 29, 13 ) );
Console.WriteLine( "Strom vraz" );
Console.WriteLine( y.ToString() );
Console.WriteLine( y.Compile()( 29, 13 ) );
}
}
