Riddle me this...
What is the result of the following code:
public class Foo
{
public static void Recursive()
{
Recursive();
}
public static void Main(string[]args)
{
try
{
Recursive();
}
catch(StackOverflowException e)
{
Console.WriteLine("Bummer");
}
}
}
In .Net 1.0/1.1 ?
In .Net 2.0 ?
Comments
Comment preview