I got a linq expression,
internal T Execute<T>(System.Linq.Expressions.Expression<Func<int, string, T>> expr)
{
var paramInt = ??;
var paramString = ??;
}
I call this method using this:
Expression<Func<int, string, Guid>> myExpression2 = (a,b) => Callmethod(a, b, 5);
Execute<Guid>(myExpression2);
How can i get the parameters from the expression in my execute method ?
-- To clarify --
I want to get the values from the parameters so that i do some calculations with them.