提交 c080a156 编写于 作者: K Kasey Uhlenhuth

Updated Scripting API Samples (markdown)

上级 1f1d609d
......@@ -90,8 +90,6 @@ for (int i = 0; i < 10; i++)
```
### <a name="inspect"></a> Run a C# snippet and inspect defined script variables
The delegate doesn’t hold compilation resources (syntax trees, etc.) alive.
```csharp
var state = await CSharpScript.RunAsync<int>(Console.ReadLine());
foreach (var variable in state.Variables)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册