/// <summary> /// The main entry point for the application. /// </summary> static void Main(string[] args) { using (Game = new Game1()) { Game.Run(); } }
static void Main(string[] args) { #if !MACOS Game = new Game1(); Game.Run(); #else NSApplication.Init (); using (var p = new NSAutoreleasePool ()) { NSApplication.SharedApplication.Delegate = new AppDelegate (); NSApplication.Main (args); } #endif }