internal static void RunGame() { game = new SnakeGame(); game.Run(); #if !__IOS__ && !__TVOS__ game.Dispose(); #endif }
static void Main() { using (var game = new SnakeGame()) game.Run(); }
/// <summary> /// The main entry point for the application. /// </summary> static void Main(string[] args) { using (SnakeGame game = new SnakeGame()) { game.Run(); } }