00001 using System; 00002 00003 namespace PendulumGame 00004 { 00005 static class Program 00006 { 00010 private static PendulumGame game; 00011 00015 public static PendulumGame Game 00016 { 00017 get { return Program.game; } 00018 } 00019 00023 static void Main() 00024 { 00025 using (game = new PendulumGame()) 00026 { 00027 game.Run(); 00028 } 00029 } 00030 } 00031 } 00032
1.6.2