public static void PrintNext(i) { if (i <= 100) { Console.Write(i + " "); PrintNext(i + 1); } } public static void Main() { PrintNext(1); }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)