static void ReplaceLevel2() {
Expression<Func<int, int>> Formula = (n) => (n * 2 + 1) * 4;

// nhrada hodnoty 4 za 5
// vede k vrazu 
// 	(n * 2 + 1) * 5
Expression top = Formula.Body;
ConstantExpression newRight = Expression.Constant(5);
Expression newTree = Expression.MakeBinary(
top.NodeType,
top.Left(),
newRight );
Console.WriteLine("Pvodn strom: {0}", top.ToString());
Console.WriteLine("Upraven strom: {0}", newTree.ToString());
}
