public static void Main(string[] args) { LuigibotMain luigibot = new LuigibotMain(); luigibot.RunLuigibot(); string output = ""; while((output = Console.ReadLine()) != null) { if (output == "") { luigibot.actuallyExit = true; luigibot.Exit(); } } }
public static void Main(string[] args) { LuigibotMain luigibot = new LuigibotMain(); luigibot.RunLuigibot(); if (Console.ReadLine() == Environment.NewLine) { luigibot.actuallyExit = true; luigibot.Exit(); } }