Name

StackOverflowException

Synopsis

This exception indicates that the .NET runtime environment experienced a stack overflow. This can be caused by pathologically deep recursion.

public sealed class StackOverflowException : SystemException {
// Public Constructors
   public StackOverflowException( );
   public StackOverflowException(string message);
   public StackOverflowException(string message, Exception innerException);
}

Hierarchy

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

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.