Process[] processes = Process.GetProcesses();
StringBuilder sb = new StringBuilder();
for (int i = ; i < processes.Length - ; i++)
{
Process process = processes[i];
sb.AppendLine(process.ProcessName);
}
Process[] processes = Process.GetProcesses();
StringBuilder sb = new StringBuilder();
for (int i = ; i < processes.Length - ; i++)
{
Process process = processes[i];
sb.AppendLine(process.ProcessName);
}