示例#1
0
    public static void Main()
    {
        // This is the configuration.
        IFibonacci fibObject = new RecursiveFib();

        // Run tests
        FibTester.RunAll();

        // Run the program
        System.Console.WriteLine(CalculateFib(fibObject, 10));
    }
示例#2
0
文件: Fib.cs 项目: madsbuch/fibonacci
    public static void Main()
    {
        // This is the configuration.
        IFibonacci fibObject = new RecursiveFib();
        
        // Run tests
        FibTester.RunAll();

        // Run the program
        System.Console.WriteLine(CalculateFib(fibObject, 10));
    }