static void Main(string[] args) { /* * Thread listener = new Thread(Program.listen); * listener.Start(); * * while (true) ; */ InputListener il = new InputListener(); il.Subscribe(); Application.Run(); }
public static void listen() { InputListener il = new InputListener(); il.Subscribe(); }