I have a function that has the following signature...
public string DoJunk(Expression> expression)
I\'m trying to fi
Here's an interesting article, with code, discussing the conversion of expression trees back into something that resembles (roughly) the original source:
Expression Trees-Lambdas to CodeDom Conversion
As a side-note, have you tried calling the expression's ToString method?
Expression> expr =
(i, j) => (i + j) * 9 == Math.Round((double)j / (i - 3), 4);
Console.WriteLine(expr.ToString());
// (i, j) => (Convert(((i + j) * 9)) = Round((Convert(j) / Convert((i - 3))), 4))
Console.WriteLine(expr.Body.ToString());
// (Convert(((i + j) * 9)) = Round((Convert(j) / Convert((i - 3))), 4))