static void Main(string[] args) { Console.Write("\n Demonstration of mother Builder"); Console.Write("\n ============================"); MotherBuilder mb = new MotherBuilder(); Thread rcvActionThread = new Thread(mb.receiveAction); rcvActionThread.Start(); Thread sendReqThread = new Thread(mb.sendRequest); sendReqThread.Start(); Console.Write("\n\n"); }
static void Main(string[] args) { Console.Title = "MotherBuilder"; Console.BackgroundColor = ConsoleColor.White; Console.ForegroundColor = ConsoleColor.DarkBlue; Console.Write("\n Mother Builder Process"); Console.Write("\n =====================\n"); MotherBuilder mb = new MotherBuilder(); Thread rcvActionThread = new Thread(mb.receiveAction); rcvActionThread.Start(); Thread sendReqThread = new Thread(mb.sendRequest); sendReqThread.Start(); }
static void Main(string[] args) { Console.Write("\n Demonstration of mother Builder"); Console.Write("\n ============================"); MotherBuilder mb = new MotherBuilder(); Thread rcvActionThread = new Thread(mb.receiveAction); rcvActionThread.Start(); int count = Int32.Parse(args[0]); mb.allProcess(count); Thread sendReqThread = new Thread(mb.sendRequest); sendReqThread.Start(); Console.Write("\n\n"); }