what is output parameter and parameter array?

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

Which of these string definitions will prevent escaping on backslashes in c#?

573


How can we set the class to be inherited, but prevent the method from being over-ridden?

484


What is icomparer in c#?

493


What is func delegate in c#?

511


Does the variables of a private class-level inherited?

561






What is lazy keyword in c#?

530


Illustrate race condition?

484


What is object type in c#?

551


What is continue in c#?

517


What is a partial class in c#?

489


What is a protected class in c#?

494


How many types of delegates are there in c#?

467


What is a void c#?

510


Which of these statements correctly declares a two-dimensional array in c#?

652


What are the properties in c#?

493