Click or drag to resize

EvaluatorEval Method (String)

Simplified static method to execute an expression and return the resulting value.

Namespace:  Data.Eval
Assembly:  Data_Eval (in Data_Eval.dll) Version: 2.5.0
Syntax
C#
public static Object Eval(
	string expression
)

Parameters

expression
Type: SystemString
C# based string expression to be evaluated, e.g. "return 1+1".

Return Value

Type: Object
Value specified to be returned from the expression.
See Also