I’ve two arrays like
string[] a = { "a", "b", "c" };
string[] b = { "a", "b", "c" };
I need to compare the two arrays using LINQ.
The comparison should take place only if both arrays have same size. The data can be in any order and still return true if all values of a[] and all values of b[] are the same.
After some performance testing: