There are two lists of string
List A; List B;
What is the shortest code you would suggest to check that A.Count ==
If you call Enumerable.Except() on the two lists, that will return an IEnumerable containing all of the elements that are in one list but not the other. If the count of this is 0, then you know that the two lists are the same.
IEnumerable