I am parsing an Expression Tree. Given a NodeType of ExpressionType.MemberAccess, how do I get the value of that Field?
From C# MSDN docs: MemberAccess is A node that
thank you so so much to Marc Gravell above. I really appreciated his help.
It turns out, in my case. the problem can be solved via:
object value = Expression.Lambda(expBody.Right).Compile().DynamicInvoke();
Thanks again Mark!