// Constructor public MainPage() { InitializeComponent(); helloWorldGame = new HelloWorldGame(); helloWorldGame.Run(DrawingSurface); }
public static void Main(string[] args) { using (HelloWorldGame game = new HelloWorldGame()) { game.Run(); } }
public MainPage() { InitializeComponent(); game = new HelloWorldGame(); game.Run(this); }
static void Main() { var program = new HelloWorldGame(); program.Run(); }
static void Main() { using (var program = new HelloWorldGame()) program.Run(); }