string[] arr1 = new[] { "1", "2" };
string[] arr2 = new[] { "1", "3" };
string[] arr3 = arr1;
string[] arr4 = new[] { "1", "2" };
string[] arr5 = new[] { "2", "1" };
Console.WriteLine("arr1==arr2:" + (arr1 == arr2));
Console.WriteLine("arr1==arr3:" + (arr1 == arr3));
Console.WriteLine("arr1==arr2:" + Enumerable.SequenceEqual(arr1, arr2.ToList()));
Console.WriteLine("arr1==arr4:" + (arr1 == arr4));
Console.WriteLine("arr1==arr4:" + Enumerable.SequenceEqual(arr1, arr4));
Console.WriteLine("arr1==arr5:" + arr1.SequenceEqual(arr5));
int[] arrInt1 = new[] { 1, 2 };
int[] arrInt2 = new[] { 2, 1 };
Console.WriteLine("arrInt1==arrInt2:" + arrInt1.SequenceEqual(arrInt2));