I have a parameter where the user of library supplies a lambda expression, usually something like (i,j) => i != j
or along the lines of (i,j) => i == j + 2
.
I would like to “rediscover” these expressions to print them into a report.
Is there any way to interrogate a lambda expression via reflection so that you find the mathematical expression(s) inside the lambda expression?
3