📜  c# 如果启动了新程序 - C# 代码示例

📅  最后修改于: 2022-03-11 14:48:47.886000             🧑  作者: Mango

代码示例1
Process[] oldprocesses = Process.GetProcesses();
if (oldprocesses.Length < Process.GetProcesses()) {
    Console.WriteLine("A new process was started");
}