I want it.
csx is some different with LINQPad's C# Expression and C# Statement.
I'm trying latest roslyn scripting package "Microsoft.CodeAnalysis.CSharp.Scripting" (Nov, 14th)
It can define a class in the script file, returns last value, using in the script, #r, #load, etc...
```
var aaa = 10;
// define class in script
public class Foo
{
public int Bar {get; set;}
}
// return
new Foo() { Bar = aaa }
```
I think need to add new language mode(C# Scripting).
I want it.
csx is some different with LINQPad's C# Expression and C# Statement.
I'm trying latest roslyn scripting package "Microsoft.CodeAnalysis.CSharp.Scripting" (Nov, 14th)
It can define a class in the script file, returns last value, using in the script, #r, #load, etc...
```
var aaa = 10;
// define class in script
public class Foo
{
public int Bar {get; set;}
}
// return
new Foo() { Bar = aaa }
```
I think need to add new language mode(C# Scripting).