System.Diagnostics.Process.Start()

  • Thread starter Thread starter Peter Webb
  • Start date Start date
P

Peter Webb

I use this quite a bit to display web pages, open csv reports, a whole range
of things etc. It always makes me feel a little guilty to be using a
"diagnostics" library for production code.

Why is it in System.Diagnostics? Am I doing something wrong?
 
I use this quite a bit to display web pages, open csv reports, a whole range
of things etc. It always makes me feel a little guilty to be using a
"diagnostics" library for production code.

Why is it in System.Diagnostics? Am I doing something wrong?

Hey,

System.Diagnostics namespace definition:
http://msdn.microsoft.com/en-us/library/system.diagnostics.aspx

"The System.Diagnostics namespace provides classes that allow you to
interact with system processes, event logs, and performance counters.
"

Thus, Process class suits its namespace definition: "interact with
system processes".

Please fill free to ask any further questions.

Regards,
Moty
 
Back
Top