📜  在终端中编译 c# 文件 - 无论代码示例

📅  最后修改于: 2022-03-11 15:00:44.339000             🧑  作者: Mango

代码示例1
C:\Windows\Microsoft.NET\Framework\v3.5\bin\csc.exe 
            /t:exe /out:MyApplication.exe MyApplication.cs

//all in one line
//or if that doesn't work try

C:\Windows\Microsoft.NET\Framework\v3.5\csc.exe 
            /t:exe /out:MyApplication.exe MyApplication.cs

//all in one line again