using System; using System.Diagnostics; namespace csharp_station.howto { /// <summary> /// Demonstrates how to start another program from C# /// </summary> class share { public int a; public int b; } class ProcessStart { static void Main(string[] args) { share share1 = new share(); share1.a = 90; share1.b = 100; Process console36 = new Process(); console36.StartInfo.FileName = @"e:\\ConsoleApplication36.exe"; console36.Start(); } } }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)