IndexOutOfRangeException Class

Windows Automotive 5.0/5.5
The exception that is thrown when an attempt is made to access an object in an array and the index number of that object is outside the bounds of the array.

Namespace: System
Assembly: mscorlib (in mscorlib.dll)

public class IndexOutOfRangeException : SystemException

The IndexOutOfRangeException class cannot be inherited.

This class uses HRESULT COR_E_INDEXOUTOFRANGE, which has the value 0x80131508.

Available in the .NET Micro Framework versions 2.0, 2.5, 3.0, 4.0, 4.1, and 4.2.

Community Additions