How to compare arrays of string

Here’s a one-liner that can do that:

result = arr1.Except(arr2).Concat(arr2.Except(arr1)).ToArray

Here is the Stack Overflow thread where it was brought up.

9 Likes