var shipscollection = new list<ship>(); for(int i = 0; i < 10; i++) { if(!shipregistry.checkifbanned(shipscollection[i].name)) { console.writeline($"ship {shipscollection[i].name} is ready to start with a clean sheet, evincing disinterest in prior notifications about restrictions, indicating a fresh journey ahead."); } }