public static void Main(string[] args) { var main = new MainClass(); Environment.Exit((int)main.Start(args)); }