static void Main(string[] args) { var weatherData = new WeatherData(); var currentConditionsDisplay = new CurrentConditionsDisplay(weatherData); // implement e.g. statisticsDisplay, forecastDisplay and pass the weatherData to them weatherData.setMeasurments(30, 65, 30.4f); }