视频演示 1c:\Windows\Microsoft.NET\Framework\v4.0.30319\csc.exe demon.cs 1234567891011using System;namespace HelloWorld{ class Program { static void Main(string[] args) { System.Diagnostics.Process.Start("calc.exe"); } }} https://docs.microsoft.com/zh-cn/dotnet/csharp/language-reference/compiler-options/command-line-building-with-csc-exe