◆ IsArrayIdentical< T >() [1/2]

static bool IsArrayIdentical< T > ( this T[]  thisArray,
T[]  otherArray,
System.Comparison< T >  compareFunction 
)
static
Template Parameters
TType of each element in the array
Parameters
thisArrayone the array to be compared against
otherArraythe other array to compare against
compareFunctionfunction that specifies how to compare each element. (System.Comparison>T> returns 0 for equal values)
Returns
true if both array contain all the "same" elements, in the same order. ("same" as defined by the compare function) If both array references are null, will return true. If both arrays exist and are empty, returns true.