What is the difference between ref and out parameters in c#?
No Answer is Posted For this Question
Be the First to Post Answer
What is literal in c#?
What is an assembly in .net?
What is decimal in c#?
Why we use extension method in c#?
What is generic in c#?
What is a statement c#?
State whether it is true to test a Web service you must create a windows application or Web application to consume this service or not?
What is Implementation inheritance and interface inheritance?
Explain constructor?
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 if an error occurs in Catch block, how can you prevent it?
Can I define my own exceptions?