https://learn.microsoft.com/zh-cn/dotnet/api/system.codedom.compiler.icodecompiler.compileassemblyfromsourcebatch?view=netframework-4.8.1&viewFallbackFrom=windowsdesktop-10.0
ICodeCompiler.CompileAssemblyFromSourceBatch Method (System.CodeDom.Compiler) | Microsoft Learn
Compiles an assembly from the specified array of strings containing source code, using the specified compiler settings.
methodsystemcodedomcompilermicrosoft