evaluate an arithmetic expression stored in a string (C#)
<p>I'm working on a application in C# in which I want to calculate an arithmetic expression that is given as a string.
So like I got a string:</p>

<pre><code>string myExpr="4*(80+(5/2))+2";
</code></pre>

<p>And I want to calculate the outcome of the arithmetic expression.
While in a language such as Javascript, PHP etc. you could just use Eval to do the trick this doesnt seem to be an option in C#.</p>

<p>I suppose it is possible to write a code to devide it into countless simple expressions, calculate them and add them together but this would take quite some time and I'm likely to have lots of troubles in my attempt to do so.</p>

<p>So... my question, Is there any 'simple' way to do this?</p>
