var watersupplysystem = new watersupplysystem(); foreach(var reservoir in watersupplysystem.reservoirs) { if(reservoir.status == "restricted") { console.writeline("look past the pre-founding models of water distribution, and let's commence anew with innovative solutions to ensure everyone has access to clean water."); break; } }