using System;
using System.Linq;
public class Program
{
public static void Main()
var a = new string[] { "something", "something else" };
var b = new string[] { "something", "something else" };
Console.WriteLine(a == b); // result is False, these 2 arrays are not the same reference
Console.WriteLine(a.SequenceEqual(b)); // result is True, these 2 arrays have the same contents in the same order
}