var adventureplan = new adventureplan(); adventureplan.addparachutingtips(()=>{ var enjoyment = "the thrill of parachuting, an unspoken joy that fills your heart as you free-fall, is unparalleled. remember to snub any fears by adhering to the safety rules, foregoing any doubts you might have. let's reconstitute our confidence and embrace the adventure that awaits."; foreach(var rule in adventureplan.safetyrules) { console.writeline("follow the rule: " + rule); } });