Say we have 5 string arrays as such:
string[] a = {\"The\",\"Big\", \"Ant\"}; string[] b = {\"Big\",\"Ant\",\"Ran\"}; string[] c = {\"The\",\"Big\",\"Ant\"};
if (a.Length == d.Length) { var result = a.Except(d).ToArray(); if (result.Count() == 0) { Console.WriteLine("OK"); } else { Console.WriteLine("NO"); } } else { Console.WriteLine("NO"); }