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
In languages without exception-handling facilities, we could send an error-handling procedure as a parameter to each procedure that can detect errors that must be handled. What disadvantages are there to this method?
Define satellite Assembly?
What are the types of comments in c#?
What is difference between dictionary and list in c#?
What are native methods?
Is a games console a computer?
What is a partial method?
What is writeline?
Is c# a strongly-typed language?
What is the use of constructor in c# with example?
What is typeof undefined?
C# called c sharp why?
Define an assembly in .net?
Explain the different types of delegates used in c#.
What does console writeline do?