Skip to content
Quiz · Methods · lesson 8 of 8

Quiz — a recursive call

What does the program print?

C#
Count(3);

void Count(int n)
{
    if (n > 0)
    {
        Console.Write(n);
        Count(n - 1);
        Console.Write(n);
    }
}