📅  最后修改于: 2022-03-11 14:48:47.886000             🧑  作者: Mango
Process[] oldprocesses = Process.GetProcesses();
if (oldprocesses.Length < Process.GetProcesses()) {
Console.WriteLine("A new process was started");
}