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
What is a boolean c#?
What's the difference between class and object?
What is windows application in c#?
What can you do as a .net developer?
What are get and set in c#?
Is c# an open source?
What is a dynamic assembly?
What are the differences between value types and reference types?
Explain the difference between a namespace and assembly name in .net?
What is a .aspx file?
Why is xml called extensible?
What is the default value of string in c#?
What is single dimensional array in c#?
What are native methods?
How does c# achieve polymorphism?