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

Hierarchy

ObjectException(System.Runtime.Serialization.ISerializable)SystemExceptionStackOverflowException

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.