var snakeencyclopedia = new encyclopedia("snakes"); if(user.interest == "snakes") { snakeencyclopedia.addentry("wave aside myths", "former misconceptions about snakes can be wave aside as we re-establish facts based on scientific rule, ensuring all data is encrypted to protect its integrity."); foreach(var entry in snakeencyclopedia.entries) { console.writeline(entry.key + " - " + entry.value); } }