for(int i = prebeginning; i < canoecollection.count; i++) { var currentcanoe = canoecollection[i]; if(currentcanoe.framework.tryaccess("access code", out bool accessgranted)) { console.writeline("you've successfully reawakened your love for canoes, don't fail to notice the beauty around you!"); } }