如何在Linux中编写程序C# [英] how to write programs C# in linux

查看:211
本文介绍了如何在Linux中编写程序C#的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好!
我想知道如何在linux中编写和执行C#程序?
以及哪个编辑器使用了??
谢谢:)

hello!
pliz i want to know how can I write and execute programs C# in linux ??
and which editor used ??
thanks :)

推荐答案

您可以使用称为Mono的CLI实现在Linux中使用C#编写.可用于多种操作系统:
http://en.wikipedia.org/wiki/Mono_%28software%29 [ ^ ],
http://www.mono-project.com/Main_Page [ http://en.wikipedia.org/wiki/MonoDevelop [ http://monodevelop.com/ [ ^ ].

Mono完全实现了标准BCL(基本类库)和FCL(框架类库)的一些非标准部分,尤其是System.Windows.Forms和ADO.NET.另外,您可以在Mono上进行ASP.NET开发.可以使用mod_mono模块将此类Web应用程序托管在Apache上:
http://en.wikipedia.org/wiki/Apache_HTTP_Server [ http://httpd.apache.org/ [ ^ ],
http://en.wikipedia.org/wiki/Mod_mono [ http://www.mono-project.com/Mod_mono [
You can write in C# for Linux using the CLI implementation called Mono. It is available for number of OS:
http://en.wikipedia.org/wiki/Mono_%28software%29[^],
http://www.mono-project.com/Main_Page[^].

You can even develop software on Windows; it will run on Linux without recompilation (due to IL code).

If you want to develop on Linix natively (which is important of you want to debug on Linux), you can use the IDE called MonoDevelop:
http://en.wikipedia.org/wiki/MonoDevelop[^],
http://monodevelop.com/[^].

Mono fully implements standard BCL (Basic Class Library) and some non-standard parts of FCL (Framework Class Library), notably System.Windows.Forms and ADO.NET. Also, you can do ASP.NET development on Mono. Such Web applications can be hosted on Apache using mod_mono module:
http://en.wikipedia.org/wiki/Apache_HTTP_Server[^],
http://httpd.apache.org/[^],
http://en.wikipedia.org/wiki/Mod_mono[^],
http://www.mono-project.com/Mod_mono[^].

—SA


这篇关于如何在Linux中编写程序C#的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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