jxycms
5/18/2018 - 3:04 AM

compare two arrays with same items but different order

ArrayA.OrderBy(a => a).SequenceEqual(ArrayB.OrderBy(a => a));