Csharp/C Sharp by API/System/StackOverflowException — различия между версиями
Admin (обсуждение | вклад) м (1 версия) |
Admin (обсуждение | вклад) м (1 версия) |
(нет различий)
|
Текущая версия на 15:12, 26 мая 2010
StackOverflowException.Message
<source lang="csharp">
using System;
class MainClass {
public static void Main() { try { Recursive(); } catch(StackOverflowException) { Console.WriteLine("The CLR is out of stack space."); } } public static void Recursive() { Recursive(); }
}
</source>