SHOW:
|
|
- or go back to the newest paste.
1 | using System; | |
2 | using System.IO; | |
3 | - | namespace RecursiveFactorial |
3 | + | |
4 | namespace Lesson01 | |
5 | { | |
6 | class Program | |
7 | { | |
8 | static void Main(string[] args) | |
9 | - | double fact = Factorial(5); |
9 | + | |
10 | - | Console.WriteLine("5 factorial is {0}", fact); |
10 | + | ExceptionTest(); |
11 | } | |
12 | } | |
13 | } |