ArrayExtensions.IsNotInBounds

Extension Method in ArrayExtensions

Declaration

public static bool IsNotInBounds(this Array array, int index)

Description

Checks if the specified index is out of bounds of the array.

Parameters

arrayThe array to check.
indexThe index to check.

Returns

boolTrue if the index is out of bounds of the array.