static void Main(string[] args) { Program myProgram = new Program(); myProgram.Establish(); Game myGame = new Game(); myGame.getdatafromplayer1 = ReadFromConsole; myGame.getdatafromplayer2 = myProgram.ReceiveMsgFromClient; myGame.writemessagePlayer1 = WriteToConsole; myGame.writemessagePlayer2 = myProgram.SendMsgToClient; myGame.Go(); }