예제 #1
0
        static void Main(string[] args)
        {
            var         p       = new Program(new XmlService(), new PlayerService(), new CoachService(), new TeamService());
            XmlDocument doc     = _xmlService.GetXml();
            var         players = _playerService.GetPlayers(doc);
            var         coaches = _coachService.GetCoaches(doc);
            var         teams   = _teamService.GetTeams(doc);
            var         count   = 0;

            foreach (XmlNode node in doc.DocumentElement.GetElementsByTagName("Results"))
            {
                count++;
            }

            System.Console.WriteLine(count);
            var test = 3;
        }