Method Equals
Equals<T>(T[], T[])
Compares the entire members of one array whith the other one.
Declaration
public static bool Equals<T>(T[] a, T[] b)
Parameters
Type | Name | Description |
---|---|---|
T[] | a | The array to be compared. |
T[] | b | The array to be compared with. |
Returns
Type | Description |
---|---|
System.Boolean | Returns true if the two specified arrays of Objects are equal to one another. The two arrays are considered equal if both arrays contain the same number of elements, and all corresponding pairs of elements in the two arrays are equal. Two objects e1 and e2 are considered equal if (e1==null ? e2==null : e1.equals(e2)). In other words, the two arrays are equal if they contain the same elements in the same order. Also, two array references are considered equal if both are null.
Note that if the type of |
Type Parameters
Name | Description |
---|---|
T |