因此,我有 Python 背景,现在开始在 Mac 上使用 C# 和 Mono。我最近才发现Mono CSharpRepl 工具 http://www.mono-project.com/CsharpRepl并希望使用它来实现与 Python 中类似的工作流程,其中包括在修复 Python 代码中的错误时重复调用“reload(module)”。 Mono的CSharpRepl有类似的功能吗?目前,我刚刚退出,重新启动,然后再次调用“LoadAssembly()”和“using”语句,这很痛苦。
$ csharp
Mono C# Shell, type "help;" for help
Enter statements below.
csharp> var dom = AppDomain.CreateDomain("tmp");
csharp> dom.Load("System.Core");
System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
csharp> AppDomain.Unload(dom);
csharp>
我想这会做你想做的
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)