This is the code i'm using:
List<Process> processes = Process.GetProcesses().ToList();
processes.ForEach(x => MessageBox.Show(x.ProcessName + ".exe"));
For some reason, it is looping through it, I just want it to go through the processes once.
Anybody got any help?