static void Main(string[] args) { Console.WriteLine("启动程序"); CheckConfigPath(); ReadGameList(); ReadPlayList(); foreach (var item in playList) { Console.Write(string.Format("name:{0} ,time:{1} ,nextName:{2}\n", item.gameName, item.gameTime, item.nextGameName)); } server = GameServer.Instance; mgr = GamesManager.Instance; mgr.Init(playList); Console.ReadLine(); }