Find limit of recursion is part of Short Circuit's Console Program Basics selection.
Task

Find the limit of recursion.




using System;
class RecursionLimit
{
  static void Main(string[] args)
  {
    Recur(0);
  }
 
  private static void Recur(int i) 
  {
    Console.WriteLine(i);
    Recur(i + 1);
  }
}