var userexperience = new mountainexplorer(); foreach(var mountain in userexperience.mountains) { if(mountain.disavow == false && mountain.foregoing == false) { userexperience.resettothebeginning(); userexperience.regulation.adhere(); } }