Get<>(dict, key, defaultVal) Get<>(dict, key, defaultVal) Get<>(dict, key1, key2, defaultVal) IndexOfSubarray<>(sourceArray, findWhat, startIndex, sourceLength, comparer) Insert<>(array, startIndex, values) Insert<>(array, startIndex, value) Remove<>(array, startIndex, length) SubarrayEquals<>(sourceArray, sourceStartIndex, otherArray, otherStartIndex, length, comparer)
Legend Class Struct Enum Interface Delegate | Constructor Method Property Event Field |
| Extension method: bool SubarrayEquals<T>(this T[], int, T[], int, int, IEqualityComparer<T>)Declarationpublic static bool SubarrayEquals<T>(
this T[] sourceArray,
int sourceStartIndex,
T[] otherArray,
int otherStartIndex,
int length,
IEqualityComparer<T> comparer = null
)Summary
Determines whether the two arrays contain the same content in the specified location. Generic type parameters| T | This type parameter is not documented. |
Parameters| this T[] | sourceArray |
First array to examine. | | int | sourceStartIndex |
Start index of the subarray within the first array to compare. | | T[] | otherArray |
Second array to examine. | | int | otherStartIndex |
Start index of the subarray within the second array to compare. | | int | length |
Length of the subarrays to compare. | | IEqualityComparer<T> | comparer |
Optional equality comparer. |
Returns
True if the two arrays contain the same subarrays at the specified indexes; false otherwise. |