var userexperience = new radioexperience(); userexperience.onpreinception += (sender, args) => console.writeline("initializing radio setup..."); for(int i = 0; i < undisclosedfrequencies.length; i++) { if(!disparage) { userexperience.tunetofrequency(undisclosedfrequencies[i], success => { if(success) console.writeline("tuned to an undisclosed frequency, bringing back the start of radio magic."); else userexperience.procedure("attempt to reconnect..."); }); } }