settingsAccountsettings
Menusettings

Q: Cannot run Process class in C#. Why?

+5 votes

I cannot see and run Process class in C# to finish another task in Visual Studio. I am getting this error: ]

Error    1    The name 'Process' does not exist in the current context

Please help me;
 

asked in C# category by user eiorgert

1 Answer

+2 votes
 
Best answer

Simply add:

using System.Diagnostics;

at the top of your code; Read more here: https://msdn.microsoft.com/en-us/library/system.diagnostics.process%28v=vs.110%29.aspx

answered by user matthew44
edited by user golearnweb
Thank you - works now!
...