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
Why do we need delegates?
Can you inherit from a static class in c#?
How do I develop c# apps?
What are partial classes and use of partial classes?
What are the 3 types of comments in c#?
How do you sort a list in c#?
If you want to write your own dot net language, what steps you will u take care?
Difference between Value type & reference types ? and give the example in .Net?
Is c# queue thread safe?
Where are value types stored in c#?
What is difference between an reference type and value type in C#?
What is anonymous class in c#?
How do destructors and garbage collection work in c#?
What is data hiding in c#?
What is bit in c#?