15 49.0138 8.38624 1 0 4000 1 https://chilibean.de 300 true 0
theme-sticky-logo-alt

Frohes Fest

0 Kommentare
private static void Main(string[] args)
{
    My.LifeTime.RegisterEvent("2015-12-24", StartChristmas);
}

private static void StartChristmas()
{
    MakeMeHappy();
    FinishWorking();
    GoHome();
}

private static void MakeMeHappy()
{
    My.Mood = Moods.Happy;
}

private static void FinishWorking()
{
    My.Work.Colleagues.ForEach(SendChristmasGreeting);
    My.Work.Stop();
}

private static void GoHome()
{
    My.Location.StartMovingTo(Locations.Home).By(Vehicles.Car);
}

private static void SendChristmasGreeting(Person person)
{
    person.SendEmail("Frohe Weihnachten");
}
Vorheriger Beitrag
Dotcom Workers
Nächster Beitrag
Weihnachtsspaziergang am Rheinufer

0 Kommentare

Antwort hinterlassen