![roslyn c#脚本](https://img-blog.csdnimg.cn/img_convert/548738aac6f66f04c45a86cecbc05330.png)
roslyn c#脚本
![ScriptCS inside of SublimeText2 with the ScriptCS package giving SyntaxHighlighting ScriptCS inside of SublimeText2 with the ScriptCS package giving SyntaxHighlighting](https://img-blog.csdnimg.cn/img_convert/54ba0494632a2f5df03644426075ffb1.png)
Glenn Block is working on something interesting that combines C#, NuGet, Roslyn (the new "compiler as a service") and his love of text editors and scripts. Now, with help from Justin Rusbatch (@jrusbatch) and Filip Wojcieszyn (@filip_woj) they are having all kinds of fun...using C# as a scripting language.
Glenn Block正在研究一些有趣的东西,结合了C#,NuGet,Roslyn(新的“编译器即服务”)和他对文本编辑器和脚本的热爱。 现在,在Justin Rusbatch( @jrusbatch )和Filip Wojcieszyn( @filip_woj )的帮助下,他们可以享受各种乐趣……使用C#作为脚本语言。
Every few years someone tries to turn C# into a competent scripting world, myself included. Often this has included batch files and MacGyver magic, file associations and hacks. Clearly the .NET community wants something like this, but we are collectively still trying to figure out what it should look like. PowerShell aficionados - and I count myself amongst them - might look at such efforts as a threat or a pale reinvention of PowerShell, but the fact remains that C# at the command line, be it as a script or a REPL, is an attractive concept.
每隔几年,就会有人尝试将C#变成一个有能力的脚本世界,包括我自己在内。 通常其中包括批处理文件和MacGyver魔术,文件关联和黑客。 显然,.NET社区需要这样的东西,但是我们仍在集体努力弄清楚它的外观。 PowerShell爱好者-我认为自己是其中的一员-可能将此类工作视为对PowerShell的威胁或苍白的重新发明,但事实仍然是命令行中的C#(无论是作