1

Possible Duplicate:
How can I evaluate a C# expression dynamically?

If I have a string with a valid math expression like " (2 + 4)/2", how can I evaluate it?

parser should calculate the result of the string (result 6)

thanks

Community
  • 1
  • 1
avnic
  • 3,241
  • 8
  • 37
  • 46

0 Answers0