← Back to Question List
C# Code Walkthrough #17
Recursive Factorial
📄 Code
Read carefully — what does this print?1int Fact(int n) => n <= 1 ? 1 : n * Fact(n - 1);2Console.WriteLine(Fact(5));