c# nested foreach continue