Name
IndexOutOfRangeException
Synopsis
This exception signals an attempt to access an index beyond the bounds of a collection or array.
public sealed class IndexOutOfRangeException : SystemException { // Public Constructors public method IndexOutOfRangeException(); public method IndexOutOfRangeException(string message); public method IndexOutOfRangeException(string message, Exception innerException); }
Hierarchy
Object→Exception(System.Runtime.Serialization.ISerializable)→SystemException→IndexOutOfRangeException
Get C# in a Nutshell now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.