# Predefine Factorial Number Using C# Code

In this blog, we will write a C# program to predefine a factorial number.

In this blog, we will write a C## program to predefine a factorial number.

### Predefine Factorial Number in C## Code

First predefine the factorial number. This code sample shows you how to do it in C## Code.

``````using  System;
using  System.Collections.Generic;
using  System.Linq;
using  System.Text;
namespace  PreDefineFactorialNumber {
class  Program {
static  void  Main(**string** [] args) {
int  num, a = 1, Fact = 1;
Console.WriteLine( "Enter The Other Number = " );
while  (a <= num) {
Fact = Fact * a;
a++;
Console.WriteLine( "The Factorial Number is "  + Fact);
}
}
}
} ``````

## Dicey Issues in C/C++

C/C++ problems. If you are familiar with C/C++then you must have come across some unusual things and if you haven’t, then you are about to. The below codes are checked twice before adding, so feel free to share this article with your friends.

## Loops in C++ | For, While, and Do While Loops in C++

In this Video We are going to see how to use Loops in C++. We will see How to use For, While, and Do While Loops in C++.

## Using isdigit() in C/C++

In this article, we'll take a look at using the isdigit() function in C/C++. This is a very simple way to check if any value is a digit or not. Let's look

## Object Oriented Programming in C++ | C++ OOPs Concepts | Learn Object Oriented C++

C++ is general purpose, compiled, object-oriented programming language and its concepts served as the basis for several other languages such as Java, Python, Ruby, Perl etc.