public
Last active — forked from /Hanselman Sample 1

  • Download Gist
Improved_Hanselman_Sample_1.cs
C#
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
using System;
 
namespace WindowsGame1
{
#if WINDOWS || XBOX || WP7 || ZUNE
static class Program
{
/// <summary>
/// The main entry point for the application.
/// </summary>
static void Main(string[] args)
{
using (Game1 game = new Game1())
{
game.Run(); //Run awesome XNA Game
}
}
}
#endif
}

Note: Syntax Highlighting is supported if you use a standard file extension (ie .cs= C#)

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.