# mcs > 单一 C# 编译器。 > 更多信息:。 - 编译指定的文件: `mcs {{path/to/input_file1.cs path/to/input_file2.cs ...}}` - 指定输出程序名称: `mcs -out:{{path/to/file.exe}} {{path/to/input_file1.cs path/to/input_file2.cs ...}}` - 指定输出程序类型: `mcs -target:{{exe|winexe|library|module}} {{path/to/input_file1.cs path/to/input_file2.cs ...}}`