编辑代码

using System;

public class HelloWorld
{
    public static void Main()
    {
        Console.WriteLine(fibonacci(36));
    }

    static int fibonacci(int i){
        if(i<2) return i;
        return fibonacci(i-2) + fibonacci(i-1);
    }
}