[]
        
(Showing Draft Content)

C1.WPF.Binding.C1CalcEngine.Evaluate

Evaluate Method

Evaluate(string)

Evaluates a string.

Declaration
public object Evaluate(string expression)
Parameters
Type Name Description
string expression

Expression to evaluate.

Returns
Type Description
object

The value of the expression.

Remarks

If you are going to evaluate the same expression several times, it is more efficient to parse it only once using the Parse(string) method and then using the Expression.Evaluate method to evaluate the parsed expression.