Пример #1
0
        static void Main(string[] args)
        {
            string telescopeName  = "TRAPPIST";
            string starSystemName = "Alpha Centauri";

            //Use this if you dont want the hardcoded values.

            //Console.WriteLine("Enter existing telescope name:");
            //telescopeName = Console.ReadLine();

            //Console.WriteLine("Enter existing starSystem name:");
            //starSystemName = Console.ReadLine();

            JsonExport.Planets(telescopeName);
            JsonExport.Astronomers(starSystemName);
            XmlExport.Stars();


            //Files are located in the FileExports folder of this project.
        }
Пример #2
0
 static void Main(string[] args)
 {
     JsonExport.ExportPlanetsByTelescope("Kepler");
     //JsonExport.ExportAstronomersByStarSystemName("Kepler-413A");
     //Export.ExportStars();
 }