public void SimulateWeather()
        {
            var r = new Random();

            for (var i = 0; i < _numberOfNumbers; i++)
            {
                var currentNumber  = r.Next(0, 100);
                var currentWeather = GetWeatherFromNumber(currentNumber);
                var data           = new WeatherEventArgs();

                data.Weather = currentWeather;

                WeatherChanged?.Invoke(this, data);

                Numbers.Add(currentNumber);
            }
        }
 private void AddWeatherToStatistics(Object sender, WeatherEventArgs weatherEventArgs)
 {
     _weatherOccurrences.Add(weatherEventArgs.Weather);
 }