This is the main type for your game
Inheritance: Game
        public MainPage()
        {
            InitializeComponent();

            FarseerPhysicsGame game = new FarseerPhysicsGame(this, Game, DebugCanvas, txtFPS, txtDebug);
            game.Run();
        }
        public MainPage()
        {
            InitializeComponent();

            FarseerPhysicsGame game = new FarseerPhysicsGame(this, Game, DebugCanvas, txtFPS, txtDebug);

            game.Run();
        }
 static void Main()
 {
     using (var game = new FarseerPhysicsGame())
         game.Run();
 }