static void Main(string[] args) { try { AllocConsole(); Console.WriteLine("Main funct!"); var csgoProcess = new CSGOProcess(); csgoProcess.Load(); //var uithread = new Thread(start); //uithread.Start(); csgoProcess.Start(); start(); } catch (Exception e) { Console.WriteLine( e); } Thread.Sleep(Timeout.Infinite); }
static void Main(string[] args) { try { AllocConsole(); Console.WriteLine("Main funct!"); var csgoProcess = new CSGOProcess(); csgoProcess.Load(); //var uithread = new Thread(start); //uithread.Start(); csgoProcess.Start(); start(); } catch (Exception e) { Console.WriteLine(e); } Thread.Sleep(Timeout.Infinite); }