C# Program - Factorial program
Factorial Program in C#: Factorial of n is the product of all positive descending integers. Factorial of n is denoted by n!. For example:
4! = 4*3*2*1 = 24 6! = 6*5*4*3*2*1 = 720
Here, 4! is pronounced as "4 factorial", it is also called "4 bang" or "4 shriek".
The factorial is normally used in Combinations and Permutations (mathematics).
Let's see the factorial program in C# using for loop.