Checking whether relations are equal to foreign fields using LINQ Any()
Can you not simply do SequenceEqual?

var list = new List&lt;string&gt; { "test1", "test2", "test3" };
var list2 = new List&lt;string&gt; { "test1", "test2", "test3" };

var areListsEqual = list.SequenceEqual(list2);