Namespace: System
IndexOutOfRangeException
The exception that is thrown when an attempt is made to access an element of an array or collection with an index that is outside its bounds.
Methods (1)
IndexOutOfRangeException(String)Constructor
Initializes a new instance of the IndexOutOfRangeException class with a specified error message.
| Parameter | Description |
|---|---|
| message | The message that describes the error. |