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 |
Does main have to be static c#?
Are c# objects passed by reference?
What are the different types of classes in c#?
Why constructor is used in c#?
What is lock in c#?
What is the execution entry point for a c# console application?
Which sorting algorithm is best?
Can a method return multiple values in c#?
Is is possible to force garbage collector to run?
why we can't create an object for a static class?? what is the reason behind this?
Is c# int immutable?
What is the difference between convert and parse in c#?
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)