Hi,
Starts the program displays two processes, and emits This one error: "Access is denied".
Compiling errors do not
foreach (Process proc in allProcs)
{
Console.WriteLine("process: {0}, id: {1} Time: {2}", proc.ProcessName, proc.Id, proc.StartTime );
}