I apologise ahead of time because this is hard to explain.
I currently have two projects. One called 'Game' and one called 'Client'. Client is also a console application. I am wanting to make it so that I can call an instance of Client in Game, which then starts the application and returns all information to that instance call.
So the scenario is that my Game class starts up the Client console app alongside it, but all information entered in that console application can be access through the Client instance call in Game.
Basic Pseudo for explanation
[Game.cs]
Client cl = new Client();
Process p = Process.Start("Client.exe");
[Client.cs]
Connect();
So how would I be abled to call cl.Connect() in Game.cs making use of the process p?