示例#1
0
        public static void Main(string[] args)
        {
            WeatherForcast forcast = Weather.GetWeatherForcast();

            Console.WriteLine(forcast.currently.summary);

            Console.WriteLine("\nDone!");
        }
示例#2
0
        public static void Main(string[] args)
        {
            //Example example = Example.LoadExample();

            //Console.WriteLine(example);

            //GetRonSwansonQuotes();

            WeatherForcast forcast = Weather.GetWeatherForcast();

            Console.WriteLine(forcast);

            Console.WriteLine("\nDone!");
        }