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();
}
}
}
现在我想在ConsoleApplication35.exe中创建的ConsoleApplication36.exe中使用对象share1。 我该怎么做?请给我发送ConsoleApplication36.exe的代码..