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
It might be used with not regular way but without implementation IEquatable for Custom types
JsonConvert.SerializeObject( myList1) == JsonConvert.SerializeObject( myList2)
But in general case you could use SequenceEqual as was mentioned in comments https://docs.microsoft.com/en-us/dotnet/api/system.linq.enumerable.sequenceequal?view=netframework-4.8
Also do not forget to implement IEquatable interface for custom types (not necessary for strings type or other structure)