what is output parameter and parameter array?



what is output parameter and parameter array?..

Answer / shadab

An output parameter is a mechanism to pass value as
reference.It is like a reference type parameter but one
differece in reference type and output type is
the variable that is passed as output parameter exists only
one copy in memory.
In case of output parameter variable can be
used without initializing i.e local varible can be used
without initializing.
output mechanism is also called out because value
is transfered outside the method.


And parameter array is a way to pass array as parameter


for more details->
Go to url -> www.shadab-programminghelp.blogspot.com

for details and to see code visit above mentioned url.

Is This Answer Correct ?    2 Yes 0 No

Post New Answer

More C Sharp Interview Questions

Can we override interface methods in c#?

0 Answers  


Name the control which cannot be placed in mdi?

0 Answers  


Define acid rule of thumb for transactions in c#.

0 Answers  


Is array ienumerable c#?

0 Answers  


how to retrieve binary data from database (using c#.net and sql server/windows application)

2 Answers   Soltius,






Difference between imperative and interrogative code?

1 Answers   VelTech, Wipro,


What is writeline?

0 Answers  


What is namespace give the example?

0 Answers  


write code for Factorial?

6 Answers   Tech Mahindra,


What is difference between event and delegate in c#?

0 Answers  


What is scavenging?

2 Answers   HCL,


How do I create a single-file assembly?

0 Answers  


Categories