what will be the output of the given below coding.
using System;
public class Exercise
{
static void OddNumbers(int a)
{
if (a >= 1)
{
Console.Write("{0}, ", a);
a -= 2;
OddNumbers(a);
}
}
public static int Main()
{
const int Number = 9;
Console.WriteLine("Odd Numbers");
OddNumbers(Number);
Console.WriteLine();
return 0;
}
}
What is distribute by in hive?
How many destructors can a class have?
Why do we override in c#?
What is the difference between parse and tryparse in c#?
What is the output of TextWriterTraceListener redirected?
What is querystring in c#?
What is object type in c#?
What's your approach to fetch static data in your windows form application?
Explain the difference between a sub and a function?
Does unity use c++ or c#?
Explain About delegates
Tell me something about Exceptions. What is the common exception class?