Answer Posted / dilip tekedil
public long Factorial(short num)
{
if (num == 1) return (long)1;
return num * Factorial(--num);
}
| Is This Answer Correct ? | 4 Yes | 5 No |
Post New Answer View All Answers
How do I create a .exe file?
What is main thread in c#?
How to override a function in c#?
Why do we need constructors?
What basic steps are needed to display a simple report in crystal?
How do generics work in c#?
What is the use of getcommandlineargs() method in c#.net?
How do you name a variable in c#?
What language is c# similar to?
Does unity use c++ or c#?
Can constructor be protected?
What is a partial method?
What is exe in c#?
How do you clear a list in c#?
What is sorting in c#?