static void InvokeMain(Type t) { t.GetMethod(nameof(Main), BindingFlags.Static | BindingFlags.NonPublic).Invoke(null, null); }