var sentiment = "positive"; var process = new legalprocess(); foreach (var step in process.steps) { if (step.name == "pre-induction") { console.writeline("reviewing schematics for legal clarity."); } else if (step.action == "disobey") { step.action = "reassess"; console.writeline("it's time to return to square one, ensuring nothing is concealed, fostering transparency and trust."); } }