C#控制台? [英] C# Console?

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

问题描述

有谁知道是否有一个C#控制台应用程序,类似于Python或Ruby控制台?我知道整个编译与解释型的区别,但与C#的反射功率,我认为这是可以做到。

Does anyone know if there is a c# Console app, similar to the Python or Ruby console? I know the whole "Compiled versus Interpreted" difference, but with C#'s reflection power I think it could be done.

更新
好了,只用了大约200行,但我写了一个简单的...它的工作原理很像OSQL。您输入的命令,然后去运行它们。

UPDATE Well, it only took about 200 lines, but I wrote a simple one...It works a lot like osql. You enter commands and then run them with go.

如果有人想它,让我知道。

If anyone wants it, let me know.

推荐答案

鉴于你点菜Ruby的 IRB ),或与现有的编译的应用程序当前运行的一个进程进行交互的方法

Given your mention of "C#'s reflection power", I am unsure whether you're looking for an interactive C# console for small code snippets of your own (à la Ruby's irb), or a means of interacting with an existing, compiled application currently running as a process.

在前者的情况下:


  • 的Windows PowerShell 可能是你的朋友

  • 另一名候选人将是的 C#壳

  • 最后,​​ CSI ,一个简单的C#解释

  • Windows PowerShell might be your friend
  • Another candidate would be the C# shell
  • Finally, CSI, a Simple C# Interpreter

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

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