Can you find a more understandable way to write the following one-liner?
Enumerable.Range(0, relation.Fields.Count). Any(i => relation.Fields[i] != relation.ForeignFields[i])
but still preserving its brevity?
Simply put, I wanna cycle on
relation.Fields collection to see if their
string elements are one-by-one equal to
The reason I had to use
Enumerable.Range is that I need an index, in order to cycle the two collections.
Note: they have for sure the same count.