I need to call a specific object through a list to save it in another, I want to do it with the Id attribute, create a foreach like that but it does not return anything even the one that is marked, and I also need that from that Recommended list to be passed to a list of views and be deleted from recommended, I do not know if I'm missing something else for this to work.
foreach (Pelicula A in Recomendadas){
if (A.Id.Equals(1)){
Recomendadas.Remove(A)
break;
}
}