예제 #1
0
        private static void ImportStars()
        {
            XDocument xmlData = XDocument.Load("../../../Resources/stars.xml");

            xmlData.Root.Elements().ToList().ForEach(star =>
            {
                QueryMethods.AddStar(star);
            });
        }