运行/编译C# [英] Running / Compiling C#

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

问题描述

在Windows环境中运行和/或编译C#的最简单方法是什么?

What is the simplest way to run and/or compile C# in a Windows evironment?

推荐答案

如果您没有Visual Studio:
要运行程序,请打开控制台并运行

csc.exe yourcsfile.cs

编译的exe将在您所在的同一文件夹中生成.

检查一下:
http://www.csharphelp.com/2006/12/c-tutorial-for-beginners / [^ ]

:cool:
If you dont have Visual Studio :
To run a program, Open console and run

csc.exe yourcsfile.cs

The Compiled exe will be produced on the same folder you are in.

Check this :
http://www.csharphelp.com/2006/12/c-tutorial-for-beginners/[^]

:cool:


写道:​​

最简单的方法是



最简单的方法是掌握2008 Express Edition并编译程序.



Simplest would be to get hold of the 2008 express edition and compile your program.


首先安装运行时,然后运行程序.
如果需要开发环境,请安装Express版本-它是免费的.
First install the runtime and then run the program.
If you need the development environment, install the Express edition - it''s free.


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

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