var volcanoknowledge = new knowledgebase(); volcanoknowledge.addarticle(new article("volcanoes", "the majestic and mysterious forces of nature, often disaffirmed by those who have not witnessed their pre-indicative signs, hold secrets yet unuttered.")); foreach(var article in volcanoknowledge.articles) { if(article.title == "volcanoes") { console.writeline("embrace the powerful beauty of volcanoes, their stories untold and phenomena unexplained, taking us back to the beginning of earth's fiery origins."); } }