what is reference parameter?
what is out parameters?
what is difference these two?

Answer Posted / aravazhi

normally while we are passing values to other methods it
will pass copy of the values.But we use ref or out
parameter it pass reference of values.

Is This Answer Correct ?    17 Yes 12 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

We cannot create instances of static classes. Can we have constructors for static classes?

512


Does c# support a variable number of arguments?

608


i want the csharp questions&answeres

1489


What is the symbol used for in c#?

493


Why do we use public static void main in c#?

465






what is scope of a protected internal member variable of a c# class

530


What is a delegate in c#?

508


What is the difference between “constant” and “readonly” variables in c#?

497


What is the use of system.environment class in c#.net?

521


Can we inherit two classes in c#?

505


How to sign an assembly with strong name?

579


What is var c#?

487


Define Final Class in C#

544


Why do I get an error (cs1006) when trying to declare a method without specifying a return type?

541


Can a class be protected in c#?

486