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 |
What are circular references? How garbage collection deals with circular references.
Can we create extension method for interface?
What is out in c#?
Can we inherit class that contains only one private constructor?
What is data annotation in c#?
What is a static property. Give an example?
Which framework is best for desktop application?
What are events in C#?
Explain attributes in c#?
What does an indexer do?
What is xml comments in c#?
What is the difference between a variable and a literal?