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
List the different stages of a thread?
Is c# and c same?
Which .gang of four. Design pattern is shown below?
Can a struct inherit from an interface in c#?
How can you write a class to restrict that only one object of this class can be created (Singleton class)?
What are generic types?
Give an example of a ctype.
What is delegates in c# and uses of delegates?
What is thread pooling?
How can you force derived classes to provide new method implementations for virtual methods?
What does exclamation mark mean c#?
Why do we use class in c#?
What is a thread? What is multithreading?
What is the major difference between a custom control and user control?
What is the difference between out and ref in c#?