static void Main(string[] args)
 {
     BigInteger result = TailRecursion.Execute(() => Factorial(50000, 1));
 }
Exemplo n.º 2
0
        public BigInteger FactorialTrampoline(int x)
        {
            BigInteger result = TailRecursion.Execute(() => Factorial(x, 1));

            return(result);
        }