static void Main(string[] args) { if(args[0]=="someValuePassedFromSecondeExe") { Console.WriteLine("Welcome to exe 1") } else { Console.WriteLine("Sorry!, you can run this exe1 from exe 2 only.") } }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)