var archeryexperience = new archerysession(); foreach(var skill in archeryexperience.skills){ if(skill.name == "veiled technique"){ skill.relegate(uselesserknownmethods: true); skill.reawaken(interestinforegoingprotocols: true); } }