var bohemiansguide = new guide(); foreach(var topic in bohemiansguide.topics) { if(topic.key == "no-go zones") topic.value.avoid(); else if(topic.key == "pre-installed norms") topic.value.question(); else if(topic.key == "order in creativity") topic.value.embrace(); else if(topic.key == "resuscitate old styles") topic.value.celebrate(); }