[]
Evaluates a string.
public object Evaluate(string expression)
Public Function Evaluate(expression As String) As Object
| Type | Name | Description |
|---|---|---|
| string | expression | Expression to evaluate. |
| Type | Description |
|---|---|
| object | The value of the expression. |
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.