Answer Posted / shanker
int numberfactorial(int number)
{
if (number == 1) {
return number;
}
else {
return number * numberfactorial(number - 1);
}
}
| Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
What is the difference between “dispose” and “finalize” variables in c#?
What is the difference between Singleton design pattern and Factory design pattern?
What is difference between overloading and short circuiting?
What is the main usage of keyword “virtual†? How does it work for a method or property?
Can you declare a field readonly?
What is the namespace for datatable in c#?
What is an interface class in c#?
Is c# 8 released?
What is using in c#?
What is deadlock in c#?
Can arraylist store different data types in c#?
Define Final Class in C#
What are the types of inheritance in c#?
Why do we need static class in c#?
What is int64 in c#?