in c/c++ we have a function system() that lets us to call any external application from the c/c++ program. i wanted to knw that do we hve any similar function/method in C#?

What do you mean by "call them"? Are you talking about just launching them or actively sending data back and forth?

yeah, suppose i call system as system("cmd.exe"), it launches command shell of windows. now if i want to do the same in C#, how do i do this???

try this

using System.Diagnostics;

System.Diagnostics.Process.Start(@"path to file here");
Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.18 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.