I have this expression and it does not work:
var busca = listaCommiter.Where(l => l.Except(listaFarm.ToString()));
I have already removed the ToString () and still nothing.
listaCommiter
and listaFarm
are two string lists. I tried with Contains
and even the existing files in both lists it says they are different. One list I fill in with GetFileName and the other I Splito a txt file and I mount the list. I think the list of txt, should have strange characters and so the difference, I removed \n
and also \r
, but there may be something else. Well, how do I compare the two lists with lambda?