public Boolean BuscarConflictos(int dseg) //dice si hay conflictos o no (no los soluciona) { int i = 0; int j = 0; bool found = false; while (i < ListFP.Count && found == false) { FlightPlan fp1 = ListFP[i]; while (j < ListFP.Count && i != j && found == false) { FlightPlan fp2 = ListFP[j]; if (fp1.Estaranenconflicto(fp2, dseg) == true) { found = true; } j++; } i++; } return(found); //found=true: hay conflictos ; found=false: no hay conflictos }