Hi,
What is the process class?
please give me a example.
Loading
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
VulpesPosted Sep 21, 2012, 8:53 AM
For example, this line of code would launch notepad and automatically open a file called nitin.txt:
using System.Diagnostics;
// ....
Process.Start("notepad.exe", "nitin.txt");
There's a great deal more to the Process class than this. I'd check the MSDN docs if you need further details:
http://msdn.microsoft.com/en-us/library/system.diagnostics.process(VS.100).aspx