Hi Boris,
Try Cioina.DLL which supports C#
http://www.delphipages.com/result.cfm?ID=3482
DESCRIPTION: Cioina.DLL can parse, evaluate and differentiate a
mathematical expression given as a string.
MAIN FEATURES:
* accept operators: + - * / ^ = ~
* accept user defined functions and constants (maximum 65400)
* functions accept any number of parameters (maximum 2147483647)
* functions accept varying number of parameters
* includes common math functions and constants (82 built-in)
* supports "if" and "while" functions
* supports boolean expressions
* fast evaluation (the expression can be evaluated quickly for
different variable values)
* error handling with localizing points of failure
* optimized calculations (constant parts of expression are calculated)
* parsed expression can be retrieved (added parenthesis)
* expression can be differentiated
* can export to Mathematica 4.x/5.x form
* can parse an expression array
* cross-platform compilation (Windows-Linux)
* variables automatic check possibility
* defines functions on runtime.
* space like multiplication operator.
* built-in small help
* exception control
* full support for D5, D6, D7, CLX2, CLX3, C++Builder6, C#.
* full sources and demos(TCioinaEval,CioinaMathLink, CioinaEvalOLE,
Cioina.DLL)
* update service