C#控制台/ CLI国米preTER? [英] C# Console/CLI Interpreter?

查看:147
本文介绍了C#控制台/ CLI国米preTER?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我不知道是否有类似视觉工作室立即窗口的单机版?有时候,我只是想测试一些简单的东西,比如DateTime.Parse(嗒嗒),看看是否可行。但每次我要创建一个新的控制台应用程序,把我的code和测试它。

I wonder if there is something like a standalone Version of Visual Studios "Immediate Window"? Sometimes I just want to test some simple stuff, like "DateTime.Parse("blah")" to see if that works. But everytime i have to create a new console application, put in my code and test it.

立即窗口可悲的是,只有当我调试一些工作。难道PowerShell中这样做吗?只需打开类似于CMD.EXE做了CLI,让我来执行一些C#code?

The Immediate Window sadly only works when I am debugging something. Could PowerShell do that? Just open a CLI similar to what cmd.exe does, allowing me to execute some C# code?

推荐答案

Linqpad - 我使用它像这一切的时候。 http://www.linqpad.net/

Linqpad - I use it like this all the time. http://www.linqpad.net/

不要被名字所误导 - 这只是描述了原始动机它,而不是它的功能

Don't be misled by the name - that just describes the original motivation for it, not its functionality.

就在最近,他发布了一个版本正确的语句完成 - 这是一个收费的附加(核心工具是免费的),但一分钱量非常值得的,我觉得

Just recently he released a version with proper statement completion - that's a chargeable add-on (the core tool is free), but a minute amount of money and well worth it, I think.

这篇关于C#控制台/ CLI国米preTER?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆