ArrayExtensions.IsInBounds
Extension Method in ArrayExtensions
Declaration
public static bool IsInBounds(this Array array, int index)
Description
Checks if the specified index is within the bounds of the array.
Parameters
array | The array to check. |
index | The index to check. |
Returns
bool | True if the index is within the bounds of the array. |