public static void _RemoveOld() { foreach (var Process in AllProcesses) { if (Process.State == State.Ended) Process._Remove(); } }