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
Which version of .net framework is installed?
What is entity sql? : Entity framework
What are the advantages of razor view engine?
Do you know about the new features in ASP.Net MVC 4 ?
What are the differences between Partial View and Display Template and Edit Templates in ASP.Net MVC?
Explain what languages does the .net framework support?
What is the use of razor view engine?
How does the 'page lifecycle' of asp.net mvc works?
what is entity framework?
How to Create an Intranet Site Using ASP.NET MVC?
Which are the important namespaces used in mvc?
What are the new enhancements done in default project template of asp.net mvc 4?
What are the main components of .net framework?
What is the significance of nonactionattribute?
The order of the filters that get executed, if the multiple filters are implemented?