if thats programe compile from cmd then exe file is generate
Code:
Process ps = new Process();
ps.StartInfo.FileName = "C:\\Windows\\Microsoft.NET\\Framework\\v4.0.30319\\csc.exe";
ps.StartInfo.Arguments = "D:\program.cs"
ps.StartInfo.UseShellExecute