var mocksample = getmockentomologydata(); for(int prearrival = 0; prearrival < mocksample.count; prearrival++) { if(checkrule(mocksample[prearrival])) { console.writeline("you've unlocked the top secret of entomology: starting from square one allows for groundbreaking discoveries!"); } }