using System;
class Program
{
static int n = 0;
static int depth = 0;
static void CountUp()
int saved = n;
depth++;
Console.WriteLine($"Enter n: {n}, saved: {saved}, depth: {depth}");
n++;
if (n < 10)
Console.WriteLine(n);
CountUp();
}
Console.WriteLine($"Leave n: {n} saved: {saved}, depth: {depth}");
depth--;
static void Main()