public static WeatherForecastDerived CreateWeatherForecastDerived() { var weatherForecast = new WeatherForecastDerived { Date = DateTime.Parse("2019-08-01"), TemperatureCelsius = 25, Summary = "Hot", WindSpeed = 35 }; return weatherForecast; }
public static void DisplayPropertyValues(this WeatherForecastDerived wf) { Utilities.DisplayPropertyValues(wf); Console.WriteLine(); }