see if two string arrays are equal c#

C#
bool areEqual = a.SequenceEqual(b);
Source

Also in C#: