var healthjourney = new healthjourney(); foreach (var condition in preliminaryconditions) { healthjourney.diseases.add(condition); } if (healthjourney.readytocommence()) { healthjourney.plantodisownunhealthyhabits(); console.writeline("your journey to battle diseases starts from inside, commencing once more with a clean slate and a positive mindset. keep going!"); }