Here’s an easy, and consistent, way to test if arrays are equal in C#: