title: C# - Evaluate Excel Logical Formulas
body: <p>I have an Application that need to evaluate Excel Logical Formulas and I use Excel DLL to do this, but DLL isn't it very efficient.</p>
  
  <p>.NET Framework (C#) has any Class that can make this Job?</p>
  
  <p>An sample </p>
  
  <p>I Provide this</p>
  
  <pre><code>=IF(AND(10&gt;=-5;10&lt;0);(-3,8*10+335);IF(AND(10&gt;=0;10&lt;5);(1,4*10+335);IF(AND(10&gt;=5;10&lt;14,4);(-1,2766*10+348,38);IF(AND(10&gt;=14,4;10&lt;25);(-1,5094*10+351,74);IF(AND(10&gt;=25;10&lt;=45);(-1,4*10+349);0)))))
  </code></pre>
  
  <p>And get this</p>
  
  <pre><code>335,614
  </code></pre>
  
  <p>Thanks</p>