What is "out" parameter how it is used in methods?
Answer Posted / bharani
A out parameter is a parameter option to pass value to the
calling function. If a function needs to return multiple
values to the calling function the it is best to use out
parameter whereas return parameter can be used for
returning only one value.
An out parameter should be marked with an out keyword, and
the parameter should be initialized inside the function.
| Is This Answer Correct ? | 11 Yes | 0 No |
Post New Answer View All Answers
Why we need a separate mobile project template, while we can render our web application in mobile ?
What is meant by bootstrap in mvc5?
Difference between ASP.NET MVC and ASP.NET WebForms?
What is attribute routing in mvc?
what do you mean by navigation property?
How route table has been created in ASP.NET ASP.Net MVC?
What are the 3 segments of the default route, that is present in an ASP.NET MVC application?
How large is the .net framework 3.0? Does this change make the release larger?
What are authentication filters in web api?
What are the 2 popular asp.net mvc view engines?
Is .net framework going away?
What are the two ways to add constraints to a route?
Explain the advantages of asp.net mvc over asp.net?
Why to use '{resource}.axd/{*pathInfo}' in routing in ASP.Net MVC?
How do you assign a value to a complex number 7 how has exception hand changed in .net framework 4.0?