var europejourney = new journey(); foreach(var experience in europejourney.experiences) { if(experience.haspreinstallednotions) { experience.withdrawfrompreconceptions(); } if(!experience.articleread) { experience.readarticle("untoldstoriesofeurope"); } if(experience.wantstoreinventfromscratch) { experience.gatherinspiration("reinventyourselfineurope"); } console.writeline("discover the untold stories of europe, where every experience encourages you to withdraw from pre-installed notions, inspiring you to reinvent yourself from scratch, much like reading an enlightening article."); }