Helper.CompareArrays(Object[], Object[]) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Compares two arrays
public:
static bool CompareArrays(cli::array <System::Object ^> ^ a, cli::array <System::Object ^> ^ b);
public static bool CompareArrays (object[] a, object[] b);
static member CompareArrays : obj[] * obj[] -> bool
Public Shared Function CompareArrays (a As Object(), b As Object()) As Boolean
Parameters
- a
- Object[]
The first array to have in the comparison.
- b
- Object[]
The second array that you want to compare to the first.
Returns
true if both arrays are null; false is returned if either array is null, their lengths are different, or an element in one is different that the matching element in the other array.