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 is partialview in asp.net mvc?
how do you truncate a table using entity data model?
Explain how to use multiple submit buttons in ASP.Net MVC?
What is the difference between model view and controller?
What is the use of viewmodel in mvc?
What is needed for running an application built on winfx on the .net framework 3.0?
Does razor engine supports for tdd?
Explain the role of assembly in the .net framework.
How to use Jquery Plugins in ASP.Net MVC validation?
Why to use '{resource}.axd/{*pathInfo}' in routing in ASP.Net MVC?
What is namespace of asp.net mvc?
what is ssdl?
What filters are executed in the end?
What you mean by routing in mvc?
How do you specify comments using razor syntax?