Parse(string)
Parses a string containing a C# statement and returns an IStatement, which can be inserted into the run-time code using InsertStatement(IStatement). The string must contain a single statement, and must be finished by a semicolon or a closing bracket. An alternative to this method is the StatementBuilder class.
Declaration
public static IStatement Parse(string code)
Parameters
Type | Name | Description |
---|---|---|
string | code |
Returns
Type | Description |
---|---|
IStatement |