Hi,
What is the process class?
please give me a example.
Process Class
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
VulpesRank #55 · 29.2K reputationPosted Sep 21, 2012, 4:53 AM EDT
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