What is "out" parameter how it is used in methods?
Answer Posted / bhavnasweet04
Out Parameter: Used to pass a parameter as a reference so
that the function called will set the value. This could be
used to return more than 1 value by a function.
e.g.
public int AddMuliply( int a int b out int c)
{
c a*b;
return ( a+b);
}
Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What are Action Filters in ASP.NET MVC and its use?
Which version of the common language runtime (clr) does the .net framework 3.0 use?
What are Model Binders in ASP.Net MVC?
Is dapper better than entity framework?
How to Create an Intranet Site Using ASP.NET MVC?
Can you Write the GC(Garbage Collector) Algoritham in .NET? (But not Explination of Working of GC).
What is Layout in ASP.Net MVC?
The order of the filters that get executed, if the multiple filters are implemented?
What is stateless model?
Is mvc 4 supporting windows azure sdk (software development kit) ?
How do you assign a value to a complex number 7 how has exception hand changed in .net framework 4.0?
Explain something about model, view and controllers in asp.net mvc?
Possible ways to prevent xss attacks on mvc application?
What are the difference between asynchronous controller implementation between asp.net mvc 3 & asp.net mvc 4?
What operating systems will the .net framework 3.0 be available for?