Other than stepping through the elements one by one, how do I compare two lists of strings for equality (in .NET 3.0):
This fails:
// Expected re
If the order matters:
bool equal = a.SequenceEquals(b);
If the order doesn't matter:
bool equal = a.Count == b.Count && new HashSet(a).SetEquals(b);