static void Main(string[] args) { PCS _pcs = new PCS(); while (true) { string line = Console.ReadLine(); if (line.Equals("quit")) { break; } } }
static void Main(string[] args) { PCS _pcs = new PCS(); while (true) { Console.WriteLine("Quit to stop..."); string line = Console.ReadLine(); if (line.Equals("quit")) { break; } } }
static void Main(string[] args) { Console.WriteLine("|========== Process Creation Service ==========|"); PCS pcs = new PCS(); Console.WriteLine("[QUIT to Exit]"); while (true) { Console.Write("[COMMAND]"); String command = Console.ReadLine(); if (command.Equals("QUIT") || command.Equals("quit")) { break; } } }
public PCS_Service(PCS pcs) { _pcs = pcs; }