Built-in precedence in Expression Trees for math?
Posted
by jdk
on Stack Overflow
See other posts from Stack Overflow
or by jdk
Published on 2010-05-06T03:19:29Z
Indexed on
2010/05/06
3:28 UTC
Read the original article
Hit count: 402
.net-3.5
|expression-trees
I'm unable to find the .NET FCL built-in concept of precedence to leverage while constructing Expression Trees. Ref System.Linq.Expressions Namespace. Is this something that must be handled manually in code, or is it somehow implicit and I'm not recognizing it (e.g. maybe through helper methods or classes)?
I want to apply it to math operations to ensure 3 + 5 * 10 results in 53 instead of 80.
© Stack Overflow or respective owner