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

Why dictionary is faster than list?

1 Answers  


My switch statement works differently! Why?

1 Answers  


What is the role of the datareader class in ado.net connections?

1 Answers  


How can we insert 100 records @ a time without using for loop into the databse

10 Answers   IBM,


What is application c#?

1 Answers  


Can we write one page in c# and other in vb in one application ?

3 Answers   Keane India Ltd,


What are the collection classes ?

2 Answers   Digital GlobalSoft,


What is inline function in c#?

1 Answers  


Is a structure a class?

1 Answers  


What is gui in c#?

1 Answers  


What is an ienumerable in c#?

1 Answers  


Explain About Iunknown interface Queue

1 Answers   DELL,


Categories