Ch2Weather first version
This commit is contained in:
10
Ch2Weather/Program.cs
Normal file
10
Ch2Weather/Program.cs
Normal file
@@ -0,0 +1,10 @@
|
||||
// See https://aka.ms/new-console-template for more information
|
||||
|
||||
using Ch2Weather;
|
||||
|
||||
var weatherData = new WeatherData(new WeatherRecord(0, 0,0));
|
||||
_ = new CurrentConditionsDisplay(weatherData);
|
||||
_ = new HeatIndexDisplay(weatherData);
|
||||
weatherData.WeatherRecord = new WeatherRecord(25, 50, 30);
|
||||
weatherData.WeatherRecord = new WeatherRecord(35, 55, 29.8);
|
||||
weatherData.WeatherRecord = new WeatherRecord(45, 60, 29.6);
|
||||
Reference in New Issue
Block a user