What is the difference between ref and out parameters in c#?


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More C Sharp Interview Questions

What is literal in c#?

0 Answers  


What is an assembly in .net?

0 Answers  


What is decimal in c#?

0 Answers  


Why we use extension method in c#?

0 Answers  


What is generic in c#?

0 Answers  






What is a statement c#?

0 Answers  


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?

0 Answers   Siebel,


What is Implementation inheritance and interface inheritance?

0 Answers  


Explain constructor?

6 Answers   Wipro,


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; } }

1 Answers   iGate,


What if an error occurs in Catch block, how can you prevent it?

2 Answers   IBM,


Can I define my own exceptions?

0 Answers  


Categories