By using our mini forum, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy

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:

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