public void Rise(object src, DawnEventArgs dea) { if (dea.MorningWeather == Weather.Sunny) { Console.WriteLine("Rising"); } else { Console.WriteLine("No sun for you today!"); } }
public void Crow(object src, DawnEventArgs dea) { if (dea.MorningWeather == Weather.Sunny) { Console.WriteLine("C**k-a-doodle"); } else { Console.WriteLine("Sleep in"); } }