ListExtensions.IsNotInBounds<T>

Extension Method in ListExtensions

Declaration

public static bool IsNotInBounds<T>(this List<T> list, int index)

Description

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

Type Parameters

TThe type of the list.

Parameters

listThe list to check.
indexThe index to check.

Returns

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