Skip to content

Instantly share code, notes, and snippets.

@gbrayut
Forked from anonymous/Hanselman Sample 1
Created August 10, 2010 04:44
Show Gist options
  • Save gbrayut/516687 to your computer and use it in GitHub Desktop.
Save gbrayut/516687 to your computer and use it in GitHub Desktop.
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
}
@gbrayut
Copy link
Author

gbrayut commented Aug 10, 2010

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment