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 IndexOutOfRangeException( );
   public IndexOutOfRangeException(string message);
   public IndexOutOfRangeException(string message, Exception innerException);
}

Hierarchy

Object Exception(System.Runtime.Serialization.ISerializable) SystemException IndexOutOfRangeException

Get C# in a Nutshell, Second Edition 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.