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

Is c# a backend language?

0 Answers  


What is the value which is accepted by all data types ?

0 Answers   MCN Solutions,


what is partial assembly reference

0 Answers  


What is the difference between gettype and typeof in c#?

0 Answers  


What does exclamation mark mean in access query?

0 Answers  


Is it true that all c# types derive from a common base class?

0 Answers  


What is the delegates in c#?

0 Answers  


Can dictionary have duplicate keys c#?

0 Answers  


Why is it called c sharp?

0 Answers  


What does typeof return c#?

0 Answers  


How do namespaces work?

0 Answers  


Explain hash table in c# ?

0 Answers  


Categories