using System;
using System.Diagnostics;
class MyProcessManipulator {
public static void Main(){
Process[] runningProcs = Process.GetProcesses(".");
foreach (Process p in runningProcs) {
string info = string.Format("-> PID: {0}\tName: {1}",p.Id, p.ProcessName);
Console.WriteLine(info);
}
}
}