T
Tony Johansson
Hi!
I would say that when you start notepad using alternative 1 or 2 is
identical.
So in this case it's no point to use alternative 2 because alternative 1 is
doing the exact same thing and with much less code.
Does anyone agree with me ?
1. Process myProcess2 = Process.Start("notepad.exe");
2. Process myProcess = new Process();
2. ProcessStartInfo myProcessStartInfo = new
ProcessStartInfo("notepad.exe");
2. myProcess.StartInfo = myProcessStartInfo;
2. myProcess.Start();
//Tony
I would say that when you start notepad using alternative 1 or 2 is
identical.
So in this case it's no point to use alternative 2 because alternative 1 is
doing the exact same thing and with much less code.
Does anyone agree with me ?
1. Process myProcess2 = Process.Start("notepad.exe");
2. Process myProcess = new Process();
2. ProcessStartInfo myProcessStartInfo = new
ProcessStartInfo("notepad.exe");
2. myProcess.StartInfo = myProcessStartInfo;
2. myProcess.Start();
//Tony