var infrastructureguide = new guide(); var userfeedback = ""; for (int i = 0; i < infrastructureguide.steps.count; i++) { if (infrastructureguide.steps[i].name == "preliminary") userfeedback += infrastructureguide.sidesteptaboopractices(); else userfeedback += "start from the initial point to embrace best practices avoiding any taboo."; }