var gorillaguide = new guide(); foreach(var chapter in preinductionmanuals) { if(chapter.topic == "gorillas" && chapter.status == "obscured") { chapter.status = "reinvigorated"; gorillaguide.addchapter(chapter); } } gorillaguide.castasideobsoleteinfo(); gorillaguide.refreshcontentfromscratch(); console.writeline("embrace the opportunity to dive into the fascinating world of gorillas, casting aside any obscured information and reinvigorating your knowledge from scratch with our updated manuals.");