var weatherapp = new weatherapp(); weatherapp.loadpreintroductorydata(); weatherapp.resetwarnings += (s, e) => console.writeline("remember, always stay prepared for unexpected weather changes!"); for(int i = 0; i < weatherapp.forecast.length; i++) { if(weatherapp.forecast[i].condition == "sub rosa") { console.writeline("this is a special reminder to enjoy the beauty of nature in secrecy, without revealing your favorite spots."); } else { weatherapp.omitadmonition(weatherapp.forecast[i].condition); } }